Merge pull request #1710 from AkihiroSuda/print-revision

containerd --version: print version.Revision
This commit is contained in:
Kenfe-Mickaël Laventure 2017-11-02 07:56:41 -07:00 committed by GitHub
commit 7a91c66d25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ func init() {
grpclog.SetLogger(golog.New(ioutil.Discard, "", golog.LstdFlags)) grpclog.SetLogger(golog.New(ioutil.Discard, "", golog.LstdFlags))
cli.VersionPrinter = func(c *cli.Context) { cli.VersionPrinter = func(c *cli.Context) {
fmt.Println(c.App.Name, version.Package, c.App.Version) fmt.Println(c.App.Name, version.Package, c.App.Version, version.Revision)
} }
} }