Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -197,8 +197,8 @@ public class TransientServiceImpl implements TransientService {
|
|||||||
cfgPath = OssPath.WAVE_DIR + ip + StrUtil.SLASH + waveName + GeneralConstant.CFG;
|
cfgPath = OssPath.WAVE_DIR + ip + StrUtil.SLASH + waveName + GeneralConstant.CFG;
|
||||||
datPath = OssPath.WAVE_DIR + ip + StrUtil.SLASH + waveName + GeneralConstant.DAT;
|
datPath = OssPath.WAVE_DIR + ip + StrUtil.SLASH + waveName + GeneralConstant.DAT;
|
||||||
try (
|
try (
|
||||||
InputStream cfgStream = obsUtil.fileDownload(cfgPath);
|
InputStream cfgStream = obsUtil.downloadStream(cfgPath);
|
||||||
InputStream datStream = obsUtil.fileDownload(datPath)
|
InputStream datStream = obsUtil.downloadStream(datPath)
|
||||||
) {
|
) {
|
||||||
if (Objects.isNull(cfgStream) || Objects.isNull(datStream)) {
|
if (Objects.isNull(cfgStream) || Objects.isNull(datStream)) {
|
||||||
throw new BusinessException(EventResponseEnum.ANALYSEWAVE_NOT_FOUND);
|
throw new BusinessException(EventResponseEnum.ANALYSEWAVE_NOT_FOUND);
|
||||||
|
|||||||
Reference in New Issue
Block a user