Change drvier name to append version

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
Michael Crosby
2014-01-17 17:42:58 -08:00
parent 70a5cb95b3
commit cdfebc2a20
4 changed files with 8 additions and 11 deletions
+2 -5
View File
@@ -1,6 +1,7 @@
package chroot
import (
"fmt"
"github.com/dotcloud/docker/execdriver"
"github.com/dotcloud/docker/mount"
"os"
@@ -82,9 +83,5 @@ func (d *driver) Info(id string) execdriver.Info {
}
func (d *driver) Name() string {
return DriverName
}
func (d *driver) Version() string {
return Version
return fmt.Sprintf("%s-%s", DriverName, Version)
}