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