Correct the spelling of property to last_modified (#65752)

Fixed the misspelt 'last_modified' field in azure_rm_storageblob output
This commit is contained in:
Arvind Shyamsundar 2019-12-12 00:19:08 -08:00 committed by Abhijeet Kasurde
parent 356e3e30fa
commit 4a54873023
2 changed files with 4 additions and 2 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- fixed the misspelt 'last_modified' field in azure_rm_storageblob output

View file

@ -175,7 +175,7 @@ container:
returned: always
type: dict
sample: {
"last_mdoified": "09-Mar-2016 19:28:26 +0000",
"last_modified": "09-Mar-2016 19:28:26 +0000",
"name": "foo",
"tags": {}
}
@ -319,7 +319,7 @@ class AzureRMStorageBlob(AzureRMModuleBase):
result = dict(
name=container.name,
tags=container.metadata,
last_mdoified=container.properties.last_modified.strftime('%d-%b-%Y %H:%M:%S %z'),
last_modified=container.properties.last_modified.strftime('%d-%b-%Y %H:%M:%S %z'),
)
return result