1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

a fix by replacing subscription with subscriptions (#55797)

This commit is contained in:
MyronFanQiu 2019-04-28 09:40:51 +08:00 committed by Yunge Zhu
parent 149336319a
commit ae7b6739ce

View file

@ -274,7 +274,7 @@ class AzureRMRoleDefinition(AzureRMModuleBase):
# build scope
def build_scope(self):
subscription_scope = '/subscription/' + self.subscription_id
subscription_scope = '/subscriptions/' + self.subscription_id
if self.scope is None:
return subscription_scope
return self.scope