mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-20 06:54:32 +00:00
update daemonset log to show version and SHA
Signed-off-by: Steve Kriss <krisss@vmware.com>
This commit is contained in:
@@ -54,7 +54,7 @@ func NewServerCommand(f client.Factory) *cobra.Command {
|
||||
logrus.Infof("Setting log-level to %s", strings.ToUpper(logLevel.String()))
|
||||
|
||||
logger := logging.DefaultLogger(logLevel)
|
||||
logger.Infof("Starting Velero restic server %s", buildinfo.FormattedGitSHA())
|
||||
logger.Infof("Starting Velero restic server %s (%s)", buildinfo.Version, buildinfo.FormattedGitSHA())
|
||||
|
||||
s, err := newResticServer(logger, fmt.Sprintf("%s-%s", c.Parent().Name(), c.Name()))
|
||||
cmd.CheckError(err)
|
||||
|
||||
Reference in New Issue
Block a user