From 328bc361be41b13c554dcf772e16b62bb28527d8 Mon Sep 17 00:00:00 2001 From: Steve Kriss Date: Wed, 23 Jan 2019 13:11:15 -0700 Subject: [PATCH] velero server: log version and git SHA at startup Signed-off-by: Steve Kriss --- 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 867a763ec..52a9ab805 100644 --- a/pkg/cmd/server/server.go +++ b/pkg/cmd/server/server.go @@ -129,7 +129,7 @@ func NewCommand() *cobra.Command { // Velero's DefaultLogger logs to stdout, so all is good there. logger := logging.DefaultLogger(logLevel) - logger.Infof("Starting Velero server %s", buildinfo.FormattedGitSHA()) + logger.Infof("Starting Velero server %s (%s)", buildinfo.Version, buildinfo.FormattedGitSHA()) // NOTE: the namespace flag is bound to velero's persistent flags when the root velero command // creates the client Factory and binds the Factory's flags. We're not using a Factory here in