mirror of https://github.com/docker/compose.git
Merge pull request #611 from docker/version_cloutd_integration
In version, replace “Azure integration” version info by “Cloud integration"
This commit is contained in:
commit
9c07a7b3ad
|
@ -82,7 +82,7 @@ $ which docker
|
|||
/usr/local/bin/docker
|
||||
$ docker version
|
||||
...
|
||||
Azure integration 0.1.4
|
||||
Cloud integration 0.1.6
|
||||
...
|
||||
```
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -82,7 +82,7 @@ $ which docker
|
|||
/usr/local/bin/docker
|
||||
$ docker version
|
||||
...
|
||||
Azure integration 0.1.4
|
||||
Cloud integration 0.1.6
|
||||
...
|
||||
```
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue