Merge pull request #611 from docker/version_cloutd_integration

In version, replace “Azure integration” version info by “Cloud integration"
This commit is contained in:
Guillaume Tardif 2020-09-12 16:02:55 +02:00 committed by GitHub
commit 9c07a7b3ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {