Skip to content

Commit 6731cf1

Browse files
committed
Fix bug #37861611 removing debug code
Change-Id: Ib3b0922dd96ac6de37b284df0e2c6e26526f0c12
1 parent 18b8481 commit 6731cf1

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

mysqloperator/controller/backup/backup_objects.py

-18
Original file line numberDiff line numberDiff line change
@@ -157,24 +157,6 @@ def prepare_backup_job(jobname: str, spec: MySQLBackupSpec) -> dict:
157157

158158
spec.add_to_pod_spec(job["spec"]["template"], "operator-backup-job")
159159

160-
# TODO REMOVE
161-
utils.merge_patch_object(job["spec"]["template"]["spec"], {
162-
"containers": [{
163-
"name": "operator-backup-job",
164-
"volumeMounts": [{
165-
"name": "operator-source-volume",
166-
"mountPath": "/usr/lib/mysqlsh/python-packages/mysqloperator"
167-
}]
168-
}],
169-
"volumes": [{
170-
"hostPath": {
171-
"path": "/src/mysql-operator/mysqloperator",
172-
"type": "Directory"
173-
},
174-
"name": "operator-source-volume"
175-
}]
176-
})
177-
178160
return job
179161

180162

0 commit comments

Comments
 (0)