Skip to content

Commit c7939cd

Browse files
author
Jeff McCormick
committed
fix bug in upgrade backup_pvc_name calculation
1 parent b65489c commit c7939cd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

operator/cluster/upgrade_strategy_1.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ func (r ClusterStrategy1) MinorUpgrade(clientset *kubernetes.Clientset, tprclien
6666
log.Error("error in shutdownCluster " + err.Error())
6767
}
6868

69-
if cl.Spec.BACKUP_PVC_NAME == "" {
70-
cl.Spec.BACKUP_PVC_NAME = cl.Spec.Name + "-backup-pvc-empty"
71-
}
7269
//create the master deployment
7370

7471
deploymentFields := DeploymentTemplateFields{

0 commit comments

Comments
 (0)