upgrading sql package to newest (#47544)

* upgrading sql package to newest

* LROPOller
This commit is contained in:
Zim Kalinowski 2018-10-25 10:08:56 +08:00 committed by GitHub
parent 4cda7a7883
commit 1cb78209ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 10 deletions

View file

@ -82,7 +82,7 @@ from ansible.module_utils.azure_rm_common import AzureRMModuleBase
try:
from msrestazure.azure_exceptions import CloudError
from msrestazure.azure_operation import AzureOperationPoller
from msrest.polling import LROPoller
from azure.mgmt.sql import SqlManagementClient
from msrest.serialization import Model
except ImportError:
@ -215,7 +215,7 @@ class AzureRMFirewallRules(AzureRMModuleBase):
firewall_rule_name=self.name,
start_ip_address=self.start_ip_address,
end_ip_address=self.end_ip_address)
if isinstance(response, AzureOperationPoller):
if isinstance(response, LROPoller):
response = self.get_poller_result(response)
except CloudError as exc: