Skip to content

Commit

Permalink
fix --no-wait no attribute error (Azure#30044)
Browse files Browse the repository at this point in the history
  • Loading branch information
xfz11 authored Oct 9, 2024
1 parent e7f2024 commit 76ff1ff
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ def transform_linker_properties(result):
get_aks_resource_name
)

if result is None:
return result

# manually polling if result is a poller
if isinstance(result, LROPoller):
result = result.result()
Expand All @@ -69,7 +72,8 @@ def transform_local_linker_properties(result):
from ._utils import (
run_cli_cmd
)

if result is None:
return result
# manually polling if result is a poller
if isinstance(result, LROPoller):
result = result.result()
Expand Down

0 comments on commit 76ff1ff

Please sign in to comment.