You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// both .status.configuration.name and .status.configuration.source must be set.
522
522
ifpool.Spec.Configuration.Name=="" {
523
-
returnfmt.Errorf("configuration spec for pool %s is empty: %v", pool.GetName(), machineConfigPoolStatus(fgHandler, pool))
523
+
returnfmt.Errorf("configuration spec for pool %s is empty: %v", pool.GetName(), machineConfigPoolStatus(pool))
524
524
}
525
525
ifpool.Status.Configuration.Name=="" {
526
526
// if status is empty, it means the node controller hasn't seen any node at the target configuration
527
527
// we bubble up any error from the pool to make the info more visible
528
-
returnfmt.Errorf("configuration status for pool %s is empty: %s", pool.GetName(), machineConfigPoolStatus(fgHandler, pool))
528
+
returnfmt.Errorf("configuration status for pool %s is empty: %s", pool.GetName(), machineConfigPoolStatus(pool))
529
529
}
530
530
iflen(pool.Status.Configuration.Source) ==0 {
531
-
returnfmt.Errorf("list of MachineConfigs that were used to generate configuration for pool %s is empty: %v", pool.GetName(), machineConfigPoolStatus(fgHandler, pool))
531
+
returnfmt.Errorf("list of MachineConfigs that were used to generate configuration for pool %s is empty: %v", pool.GetName(), machineConfigPoolStatus(pool))
returnfmt.Sprintf("%d (ready %d) out of %d nodes are updating to latest configuration %s", pool.Status.UpdatedMachineCount, pool.Status.ReadyMachineCount, pool.Status.MachineCount, pool.Spec.Configuration.Name)
0 commit comments