mirror of https://github.com/docker/docs.git
Merge pull request #16234 from zombieleet/service-inspect-patch-1
Use the correct error message when trying to inspect a nonexisting service
This commit is contained in:
commit
3fe2d7a0e5
|
@ -27,7 +27,7 @@ you can delete the service from the swarm.
|
||||||
```console
|
```console
|
||||||
$ docker service inspect helloworld
|
$ docker service inspect helloworld
|
||||||
[]
|
[]
|
||||||
Error: no such service: helloworld
|
Status: Error: no such service: helloworld, Code: 1
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Even though the service no longer exists, the task containers take a few
|
4. Even though the service no longer exists, the task containers take a few
|
||||||
|
|
Loading…
Reference in New Issue