diff --git a/guide/troubleshooting.md b/guide/troubleshooting.md index c87cabc8..7237fc19 100644 --- a/guide/troubleshooting.md +++ b/guide/troubleshooting.md @@ -20,13 +20,13 @@ $ docker service ls ### Find a function's logs ``` -$ docker swarm logs --tail 100 +$ docker service logs --tail 100 ``` ### Find out if a function failed to start ``` -$ docker swarm ps --no-trunc=true +$ docker service ps --no-trunc=true ``` ### Stop and remove OpenFaaS