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:
Girish Shilamkar 2013-07-24 16:13:35 +05:30 committed by Prasanna Santhanam
parent 2b8f1bde8f
commit b8a38ca7bd

View File

@ -3020,9 +3020,9 @@ class AffinityGroup:
if name is not None:
cmd.name = name
if account is not None:
cmd.accountname = account
cmd.account = account
if domainid is not None:
cmd.domaindid = domainid
cmd.domainid = domainid
return apiclient.deleteAffinityGroup(cmd)