In version, replace “Azure integration” version info by “Cloud integration”

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
This commit is contained in:
Guillaume Tardif 2020-09-11 17:29:40 +02:00
parent 57ded74aee
commit 2ce4e98d88
4 changed files with 4 additions and 4 deletions

View File

@ -82,7 +82,7 @@ $ which docker
/usr/local/bin/docker
$ docker version
...
Azure integration 0.1.4
Cloud integration 0.1.6
...
```

View File

@ -55,6 +55,6 @@ func runVersion(cmd *cobra.Command, version string) error {
return nil
}
var s string = string(versionResult)
fmt.Print(strings.Replace(s, "\n Version:", "\n Azure integration "+displayedVersion+"\n Version:", 1))
fmt.Print(strings.Replace(s, "\n Version:", "\n Cloud integration "+displayedVersion+"\n Version:", 1))
return nil
}

View File

@ -82,7 +82,7 @@ $ which docker
/usr/local/bin/docker
$ docker version
...
Azure integration 0.1.4
Cloud integration 0.1.6
...
```

View File

@ -370,7 +370,7 @@ func TestVersion(t *testing.T) {
t.Run("azure version", func(t *testing.T) {
res := c.RunDockerCmd("version")
res.Assert(t, icmd.Expected{Out: "Azure integration"})
res.Assert(t, icmd.Expected{Out: "Cloud integration"})
})
t.Run("format", func(t *testing.T) {