mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 22:05:25 +00:00
refactor: Extract backup-queue controller name to constant
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat> Signed-off-by: Scott Seago <sseago@redhat.com>
This commit is contained in:
@@ -53,7 +53,7 @@ const (
|
||||
var (
|
||||
// DisableableControllers is a list of controllers that can be disabled
|
||||
DisableableControllers = []string{
|
||||
"backup-queue",
|
||||
constant.ControllerBackupQueue,
|
||||
constant.ControllerBackup,
|
||||
constant.ControllerBackupOperations,
|
||||
constant.ControllerBackupDeletion,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package constant
|
||||
|
||||
const (
|
||||
ControllerBackupQueue = "backup-queue"
|
||||
ControllerBackup = "backup"
|
||||
ControllerBackupOperations = "backup-operations"
|
||||
ControllerBackupDeletion = "backup-deletion"
|
||||
|
||||
Reference in New Issue
Block a user