Skip to content

Commit 52e8ec6

Browse files
author
Joshua Reed
committed
Lint issue.
1 parent 4a345f9 commit 52e8ec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/cloudstackmachine_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ func (r *CloudStackMachineReconciler) reconcile(
174174
zidx++
175175
}
176176
rand.Seed(time.Now().Unix())
177-
randNum := (rand.Int() % len(csCluster.Spec.Zones))
177+
randNum := (rand.Int() % len(csCluster.Spec.Zones)) // #nosec G404 -- weack crypt rand doesn't matter here.
178178
csMachine.Status.ZoneID = zones[randNum]
179179
}
180180

0 commit comments

Comments
 (0)