Issue-ID: CLI-442
report: tested weather-report, execution-list
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: Iad499395c2465893a766dc9e9e5315c48e0315ee
}
private File getExecutionDir(String executionId) throws OnapCommandExecutionNotFound {
- File []f = new File(getBasePath()).listFiles((dir, name) -> {
- return name.startsWith(executionId);
- });
+ File []f = new File(getBasePath()).listFiles((dir, name) -> name.startsWith(executionId));
if (f.length == 0) {
throw new OnapCommandExecutionNotFound(executionId);