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:
David Karlsson 2022-11-30 10:18:46 +01:00 committed by GitHub
commit 3fe2d7a0e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ you can delete the service from the swarm.
```console
$ 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