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 # build scope
def build_scope(self): def build_scope(self):
subscription_scope = '/subscription/' + self.subscription_id subscription_scope = '/subscriptions/' + self.subscription_id
if self.scope is None: if self.scope is None:
return subscription_scope return subscription_scope
return self.scope return self.scope