mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
Remove object name validation.
This commit is contained in:
parent
b55fd5f67a
commit
a8059c68d0
7 changed files with 0 additions and 44 deletions
|
@ -210,9 +210,6 @@ except ImportError:
|
|||
pass
|
||||
|
||||
|
||||
NAME_PATTERN = re.compile(r"^(?!-)(?!.*--)[a-z0-9\-]+$")
|
||||
|
||||
|
||||
class AzureRMStorageBlob(AzureRMModuleBase):
|
||||
|
||||
def __init__(self):
|
||||
|
@ -270,11 +267,6 @@ class AzureRMStorageBlob(AzureRMModuleBase):
|
|||
|
||||
self.results['check_mode'] = self.check_mode
|
||||
|
||||
if not NAME_PATTERN.match(self.container):
|
||||
self.fail("Parameter error: container_name must consist of lowercase letters, "
|
||||
"numbers and hyphens. It must begin with a letter or number. It may "
|
||||
"not contain two consecutive hyphens.")
|
||||
|
||||
# add file path validation
|
||||
|
||||
self.blob_client = self.get_blob_client(self.resource_group, self.storage_account_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue