From 970938c89acc8922ac4db387ab0ffcc91672057e Mon Sep 17 00:00:00 2001 From: yanggang Date: Fri, 21 Jul 2023 16:35:26 +0800 Subject: [PATCH] Fix wrong log for server controller logs. Signed-off-by: yanggang --- pkg/cmd/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/server/server.go b/pkg/cmd/server/server.go index e0c774373e..675be1cb17 100644 --- a/pkg/cmd/server/server.go +++ b/pkg/cmd/server/server.go @@ -879,7 +879,7 @@ func (s *server) runControllers(defaultVolumeSnapshotLocations map[string]string restoreOpsMap, ) if err := r.SetupWithManager(s.mgr); err != nil { - s.logger.Fatal(err, "unable to create controller", "controller", controller.BackupOperations) + s.logger.Fatal(err, "unable to create controller", "controller", controller.RestoreOperations) } }