Skip to content

Commit

Permalink
Fix wrong log for server controller logs.
Browse files Browse the repository at this point in the history
Signed-off-by: yanggang <[email protected]>
  • Loading branch information
yanggang committed Jul 21, 2023
1 parent 32262ba commit 970938c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 970938c

Please sign in to comment.