Skip to content

Commit dcd45e0

Browse files
committed
adds more comment to initializeClusterInfo
1 parent 9b5e171 commit dcd45e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func NewClusterChecker(s store.Store, ns, cluster string) *ClusterChecker {
9393
ctx: ctx,
9494
cancelFn: cancel,
9595
}
96-
c.AddStartHook(InitializeClusterInfo()) // needs to be first
96+
c.AddStartHook(InitializeClusterInfo()) // needs to be first to initialize cluster info
9797
c.AddStartHook(MigrateAvailableSlots())
9898
return c
9999
}

0 commit comments

Comments
 (0)