Add S3 storage test to validator tests
This commit is contained in:
parent
09b3cfd549
commit
e76b95f0e6
2 changed files with 20 additions and 1 deletions
|
@ -26,7 +26,8 @@ class StorageValidator(BaseValidator):
|
|||
# Run setup on the driver if the read/write succeeded.
|
||||
driver.setup()
|
||||
except Exception as ex:
|
||||
raise ConfigValidationException('Invalid storage configuration: %s: %s' % (name, str(ex)))
|
||||
msg = str(ex).strip()
|
||||
raise ConfigValidationException('Invalid storage configuration: %s: %s' % (name, msg))
|
||||
|
||||
|
||||
def _get_storage_providers(config):
|
||||
|
|
Reference in a new issue