rework map selection in updateSecret (#2010)

This commit is contained in:
Felix Kunde
2022-08-24 17:33:39 +02:00
committed by GitHub
parent ef324494a0
commit 21d00e2ed7
2 changed files with 17 additions and 11 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ func (c *Cluster) MigrateMasterPod(podName spec.NamespacedName) error {
return nil
}
if masterCandidatePod, err = c.movePodFromEndOfLifeNode(masterCandidatePod); err != nil {
if _, err = c.movePodFromEndOfLifeNode(masterCandidatePod); err != nil {
return fmt.Errorf("could not move pod: %v", err)
}