Browse Source

Merge pull request #5006 from vieux/remove_dirty_hack

remove hack in version
Victor Vieux 11 years ago
parent
commit
468cb80c59
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/server.go

+ 1 - 1
server/server.go

@@ -843,7 +843,7 @@ func (srv *Server) DockerInfo(job *engine.Job) engine.Status {
 func (srv *Server) DockerVersion(job *engine.Job) engine.Status {
 	v := &engine.Env{}
 	v.Set("Version", dockerversion.VERSION)
-	v.SetJson("ApiVersion", api.APIVERSION)
+	v.Set("ApiVersion", string(api.APIVERSION))
 	v.Set("GitCommit", dockerversion.GITCOMMIT)
 	v.Set("GoVersion", goruntime.Version())
 	v.Set("Os", goruntime.GOOS)