Revert "Use protoversion for containerd version"

This reverts commit d2e319523d.

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
Alexander Morozov 2016-01-05 13:07:36 -08:00
parent c141cb670f
commit e55ebadb09
5 changed files with 4 additions and 48 deletions

View file

@ -14,7 +14,7 @@ const Usage = `High performance container daemon cli`
func main() {
app := cli.NewApp()
app.Name = "ctr"
app.Version = containerd.Version.VersionString()
app.Version = containerd.Version
app.Usage = Usage
app.Authors = []cli.Author{
{
@ -37,7 +37,6 @@ func main() {
CheckpointCommand,
ContainersCommand,
EventsCommand,
VersionCommand,
}
app.Before = func(context *cli.Context) error {
if context.GlobalBool("debug") {