Fix formatting for the error on azure_rm_appserviceplan_facts (#45613)

Since there is only 1 argument, {1} can't work since that's the
2nd argument for format. Flagged by lgmt.com
This commit is contained in:
Michael Scherer 2018-09-13 23:00:21 +02:00 committed by Sam Doran
parent 5a3a865ca0
commit ede3a8cee1

View file

@ -203,7 +203,7 @@ class AzureRMAppServicePlanFacts(AzureRMModuleBase):
try: try:
response = list(self.web_client.app_service_plans.list()) response = list(self.web_client.app_service_plans.list())
except CloudError as exc: except CloudError as exc:
self.fail("Error listing app service plans: {1}".format(str(exc))) self.fail("Error listing app service plans: {0}".format(str(exc)))
results = [] results = []
for item in response: for item in response: