cmd/containerd: show version and revision on startup
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
6d305c741e
commit
2a923f72e5
@ -85,7 +85,10 @@ func main() {
|
|||||||
if address == "" {
|
if address == "" {
|
||||||
return errors.New("grpc address cannot be empty")
|
return errors.New("grpc address cannot be empty")
|
||||||
}
|
}
|
||||||
log.G(ctx).Info("starting containerd boot...")
|
log.G(ctx).WithFields(logrus.Fields{
|
||||||
|
"version": version.Version,
|
||||||
|
"revision": version.Revision,
|
||||||
|
}).Info("starting containerd")
|
||||||
|
|
||||||
server, err := server.New(ctx, config)
|
server, err := server.New(ctx, config)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user