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;
|
||||
datPath = OssPath.WAVE_DIR + ip + StrUtil.SLASH + waveName + GeneralConstant.DAT;
|
||||
try (
|
||||
InputStream cfgStream = obsUtil.fileDownload(cfgPath);
|
||||
InputStream datStream = obsUtil.fileDownload(datPath)
|
||||
InputStream cfgStream = obsUtil.downloadStream(cfgPath);
|
||||
InputStream datStream = obsUtil.downloadStream(datPath)
|
||||
) {
|
||||
if (Objects.isNull(cfgStream) || Objects.isNull(datStream)) {
|
||||
throw new BusinessException(EventResponseEnum.ANALYSEWAVE_NOT_FOUND);
|
||||
|
||||
Reference in New Issue
Block a user