CURRENT STATE instead of LAST STAT

With Docker version 18.09.1, build 4c52b90, the command `docker service ps helloworld` shows CURRENT STATE instead of LAST STATE.

Here is my example output of the command:
```
[root@docker01 ~]$docker service ps helloworld
ID                  NAME                IMAGE               NODE                DESIRED STATE       CURRENT STATE           ERROR               PORTS
3tj4b0gho76v        helloworld.1        alpine:latest       docker01            Running             Running 3 minutes ago

[root@docker01 ~]$ docker --version
Docker version 18.09.1, build 4c52b90
```
This commit is contained in:
LStuker
2019-02-03 10:44:50 +01:00
committed by GitHub
parent 484dab91c9
commit 69e4ed2f24

View File

@@ -92,7 +92,7 @@ the Docker CLI to see details about the service running in the swarm.
```bash
[manager1]$ docker service ps helloworld
NAME IMAGE NODE DESIRED STATE LAST STATE
NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
helloworld.1.8p1vev3fq5zm0mi8g0as41w35 alpine worker2 Running Running 3 minutes
```
@@ -100,7 +100,7 @@ the Docker CLI to see details about the service running in the swarm.
`worker2` node. You may see the service running on your manager node. By
default, manager nodes in a swarm can execute tasks just like worker nodes.
Swarm also shows you the `DESIRED STATE` and `LAST STATE` of the service
Swarm also shows you the `DESIRED STATE` and `CURRENT STATE` of the service
task so you can see if tasks are running according to the service
definition.