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-12-02 16:28:08 -05:00
co-authored by aider
parent 5d02af3ce3
commit 4cac891fb9
2 changed files with 2 additions and 1 deletions
+1 -1
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,
+1
View File
@@ -1,6 +1,7 @@
package constant
const (
ControllerBackupQueue = "backup-queue"
ControllerBackup = "backup"
ControllerBackupOperations = "backup-operations"
ControllerBackupDeletion = "backup-deletion"