Преглед на файлове

Update example output for node inspect

commit 41d580c7a610d8111dc63353cbd94319ca854627 added
"Joined at" to the output of node inspect,
but I forgot that docs changes are needed.

This change updates the example output
of node inspect in the documentation.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn преди 9 години
родител
ревизия
dcb052c12b
променени са 2 файла, в които са добавени 16 реда и са изтрити 14 реда
  1. 1 0
      docs/reference/commandline/node_inspect.md
  2. 15 14
      docs/swarm/manage-nodes.md

+ 1 - 0
docs/reference/commandline/node_inspect.md

@@ -99,6 +99,7 @@ Example output:
     $ docker node inspect --pretty self
     ID:                     e216jshn25ckzbvmwlnh5jr3g
     Hostname:               swarm-manager
+    Joined at:              2016-06-16 22:52:44.9910662 +0000 utc
     Status:
      State:                 Ready
      Availability:          Active

+ 15 - 14
docs/swarm/manage-nodes.md

@@ -69,25 +69,26 @@ pass the `--pretty` flag to print the results in human-readable format. For exam
 ```bash
 docker node inspect self --pretty
 
-ID:			ehkv3bcimagdese79dn78otj5
-Hostname:		node-1
+ID:                     ehkv3bcimagdese79dn78otj5
+Hostname:               node-1
+Joined at:              2016-06-16 22:52:44.9910662 +0000 utc
 Status:
- State:			Ready
- Availability:		Active
+ State:                 Ready
+ Availability:          Active
 Manager Status:
- Address:		172.17.0.2:2377
- Raft Status:		Reachable
- Leader:		Yes
+ Address:               172.17.0.2:2377
+ Raft Status:           Reachable
+ Leader:                Yes
 Platform:
- Operating System:	linux
- Architecture:		x86_64
+ Operating System:      linux
+ Architecture:          x86_64
 Resources:
- CPUs:			2
- Memory:		1.954 GiB
+ CPUs:                  2
+ Memory:                1.954 GiB
 Plugins:
-  Network:		overlay, host, bridge, overlay, null
-  Volume:		local
-Engine Version:		1.12.0-dev
+  Network:              overlay, host, bridge, overlay, null
+  Volume:               local
+Engine Version:         1.12.0-dev
 ```
 
 ## Update a node