mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-3594: Fix regression in Affinity Groups tests
One of the patches introduced a regression where account and domainid parameters were changed. Therefore Affinity Groups for those accounts were not found and tests failed. Signed-off-by: Prasanna Santhanam <tsp@apache.org> (cherry picked from commit 4a7f5d59d6f77fdeb5623937f4efa2542f891573)
This commit is contained in:
parent
2b8f1bde8f
commit
b8a38ca7bd
@ -3020,9 +3020,9 @@ class AffinityGroup:
|
|||||||
if name is not None:
|
if name is not None:
|
||||||
cmd.name = name
|
cmd.name = name
|
||||||
if account is not None:
|
if account is not None:
|
||||||
cmd.accountname = account
|
cmd.account = account
|
||||||
if domainid is not None:
|
if domainid is not None:
|
||||||
cmd.domaindid = domainid
|
cmd.domainid = domainid
|
||||||
|
|
||||||
return apiclient.deleteAffinityGroup(cmd)
|
return apiclient.deleteAffinityGroup(cmd)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user