properly set the job name

This commit is contained in:
Sergey Dudoladov 2019-04-17 17:00:24 +02:00
parent bd9d0fcd38
commit 4cf37c4f3e
1 changed files with 1 additions and 1 deletions

View File

@ -1345,7 +1345,7 @@ func (c *Cluster) generateLogicalBackupJob() (*batchv1beta1.CronJob, error) {
cronJob := &batchv1beta1.CronJob{
ObjectMeta: metav1.ObjectMeta{
Name: "logical-backup-" + c.clusterName().Namespace + "-" + c.clusterName().Name,
Name: c.getLogicalBackupJobName(),
Namespace: c.Namespace,
Labels: c.labelsSet(true),
},