Skip to content

Commit

Permalink
change service_url to service_uri (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred-sun authored Aug 4, 2020
1 parent 6947a7d commit 4deea35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_autoscale.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def notification_to_dict(notification):
return dict(send_to_subscription_administrator=notification.email.send_to_subscription_administrator if notification.email else False,
send_to_subscription_co_administrators=notification.email.send_to_subscription_co_administrators if notification.email else False,
custom_emails=[to_native(e) for e in notification.email.custom_emails or []],
webhooks=[to_native(w.service_url) for w in notification.webhooks or []])
webhooks=[to_native(w.service_uri) for w in notification.webhooks or []])


rule_spec = dict(
Expand Down

0 comments on commit 4deea35

Please sign in to comment.