mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Use setjson hack again for version
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
parent
95e6fd819b
commit
4c6cf9e27f
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ func TestGetVersion(t *testing.T) {
|
||||||
eng.Register("version", func(job *engine.Job) engine.Status {
|
eng.Register("version", func(job *engine.Job) engine.Status {
|
||||||
called = true
|
called = true
|
||||||
v := &engine.Env{}
|
v := &engine.Env{}
|
||||||
v.Set("Version", "42.1")
|
v.SetJson("Version", "42.1")
|
||||||
v.Set("ApiVersion", "1.1.1.1.1")
|
v.Set("ApiVersion", "1.1.1.1.1")
|
||||||
v.Set("GoVersion", "2.42")
|
v.Set("GoVersion", "2.42")
|
||||||
v.Set("Os", "Linux")
|
v.Set("Os", "Linux")
|
||||||
|
|
Loading…
Reference in a new issue