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:
Scott Seago
2025-08-12 15:48:02 -04:00
parent 5d02af3ce3
commit 4cac891fb9
2 changed files with 2 additions and 1 deletions

View File

@@ -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,

View File

@@ -1,6 +1,7 @@
package constant
const (
ControllerBackupQueue = "backup-queue"
ControllerBackup = "backup"
ControllerBackupOperations = "backup-operations"
ControllerBackupDeletion = "backup-deletion"