summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/cloud/azure/azure_rm_postgresqldatabase.py
diff options
context:
space:
mode:
authorYunge Zhu <37337818+yungezz@users.noreply.github.com>2019-03-01 15:32:29 +0800
committerZim Kalinowski <zikalino@microsoft.com>2019-03-01 15:32:29 +0800
commit75abb276774d4f2c53c330f481631a03374da338 (patch)
tree7c57d7b162fc00e67ae9f98d1979634f16560409 /lib/ansible/modules/cloud/azure/azure_rm_postgresqldatabase.py
parent861b710c735ae1a5bf854c68699ecdfa19a09a75 (diff)
downloadansible-75abb276774d4f2c53c330f481631a03374da338.tar.gz
fix class name (#53162)
Diffstat (limited to 'lib/ansible/modules/cloud/azure/azure_rm_postgresqldatabase.py')
-rw-r--r--lib/ansible/modules/cloud/azure/azure_rm_postgresqldatabase.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/ansible/modules/cloud/azure/azure_rm_postgresqldatabase.py b/lib/ansible/modules/cloud/azure/azure_rm_postgresqldatabase.py
index ca0636dc72..5d76184e63 100644
--- a/lib/ansible/modules/cloud/azure/azure_rm_postgresqldatabase.py
+++ b/lib/ansible/modules/cloud/azure/azure_rm_postgresqldatabase.py
@@ -109,7 +109,7 @@ class Actions:
NoAction, Create, Update, Delete = range(4)
-class AzureRMDatabases(AzureRMModuleBase):
+class AzureRMPostgreSqlDatabases(AzureRMModuleBase):
"""Configuration class for an Azure RM PostgreSQL Database resource"""
def __init__(self):
@@ -154,9 +154,9 @@ class AzureRMDatabases(AzureRMModuleBase):
self.state = None
self.to_do = Actions.NoAction
- super(AzureRMDatabases, self).__init__(derived_arg_spec=self.module_arg_spec,
- supports_check_mode=True,
- supports_tags=False)
+ super(AzureRMPostgreSqlDatabases, self).__init__(derived_arg_spec=self.module_arg_spec,
+ supports_check_mode=True,
+ supports_tags=False)
def exec_module(self, **kwargs):
"""Main module execution method"""
@@ -300,7 +300,7 @@ class AzureRMDatabases(AzureRMModuleBase):
def main():
"""Main execution"""
- AzureRMDatabases()
+ AzureRMPostgreSqlDatabases()
if __name__ == '__main__':