parent
e346e3638c
commit
16f626f7f0
@ -267,8 +267,9 @@ public void ensureVolumeAndBucketExist(OzoneConfiguration ozoneConfiguration,
|
||||
} catch (OMException ex) {
|
||||
if (ex.getResult() == ResultCodes.BUCKET_NOT_FOUND) {
|
||||
volume.createBucket(bucketName);
|
||||
} else {
|
||||
throw ex;
|
||||
}
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user