mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Bump dependency versions to avoid conflicts (#54443)
* Bump dependency versions to avoid conflicts * Fix module code to support newer SDK packages * Fix keyvault module are upgrading deps
This commit is contained in:
parent
ea2fa07e23
commit
8b1b22ddc7
8 changed files with 78 additions and 57 deletions
|
@ -149,7 +149,7 @@ webapps:
|
|||
'''
|
||||
try:
|
||||
from msrestazure.azure_exceptions import CloudError
|
||||
from msrestazure.azure_operation import AzureOperationPoller
|
||||
from msrest.polling import LROPoller
|
||||
from azure.common import AzureMissingResourceHttpError, AzureHttpError
|
||||
except Exception:
|
||||
# This is handled in azure_rm_common
|
||||
|
@ -277,7 +277,7 @@ class AzureRMWebAppFacts(AzureRMModuleBase):
|
|||
self.log('Get web app {0} publish credentials'.format(name))
|
||||
try:
|
||||
poller = self.web_client.web_apps.list_publishing_credentials(resource_group, name)
|
||||
if isinstance(poller, AzureOperationPoller):
|
||||
if isinstance(poller, LROPoller):
|
||||
response = self.get_poller_result(poller)
|
||||
except CloudError as ex:
|
||||
request_id = ex.request_id if ex.request_id else ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue