Skip to content

Commit fd3ac14

Browse files
author
Joshua Reed
committed
Fixup domain/account.
1 parent 5595828 commit fd3ac14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/utils/failuredomains.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func (c *CloudClientImplementation) AsFailureDomainUser(fdSpec *infrav1.CloudSta
152152
}
153153
}
154154

155-
if c.CSCluster.Spec.Account != "" { // Set r.CSUser CloudStack Client per Account and Domain.
155+
if fdSpec.Account != "" { // Set r.CSUser CloudStack Client per Account and Domain.
156156
client, err := c.CSClient.NewClientInDomainAndAccount(fdSpec.Domain, fdSpec.Account)
157157
if err != nil {
158158
return ctrl.Result{}, err

0 commit comments

Comments
 (0)