Skip to content

Commit 02f207f

Browse files
author
Prasanna Santhanam
committed
include account and domainid in affinity group creation
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
1 parent 46bd2f8 commit 02f207f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • tools/marvin/marvin/integration/lib

‎tools/marvin/marvin/integration/lib/base.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2970,10 +2970,10 @@ def create(cls, apiclient, aff_grp, account=None, domainid=None):
29702970
cmd.name = aff_grp['name']
29712971
cmd.displayText = aff_grp['name']
29722972
cmd.type = aff_grp['type']
2973-
#if account is not None:
2974-
# cmd.account = account
2975-
#if domainid is not None:
2976-
# cmd.domainid = domainid
2973+
if account:
2974+
cmd.account = account
2975+
if domainid:
2976+
cmd.domainid = domainid
29772977
return AffinityGroup(apiclient.createAffinityGroup(cmd).__dict__)
29782978

29792979
def update(self, apiclient):

0 commit comments

Comments
 (0)