From 0f695fecb05a19e7fa47eb81cabcda76bd1df15f Mon Sep 17 00:00:00 2001 From: Alex Ellis <alexellis2@gmail.com> Date: Mon, 25 Sep 2017 09:28:33 +0100 Subject: [PATCH] Update troubleshooting.md --- guide/troubleshooting.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 <function> +$ docker service logs --tail 100 <function> ``` ### Find out if a function failed to start ``` -$ docker swarm ps --no-trunc=true <function> +$ docker service ps --no-trunc=true <function> ``` ### Stop and remove OpenFaaS -- GitLab