-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes duplicate entries in docker node ps when multi nodes are passed…
…. For example, 'docker ps node node1 node2'. Signed-off-by: Ehsan Salamati <[email protected]>
- Loading branch information
1 parent
ddd4c39
commit 94b0eb8
Showing
4 changed files
with
82 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
cli/command/node/testdata/node-ps.multiple-nodes-no-duplicates.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS | ||
taskID1 service1.1 myimage:mytag defaultNodeName Ready Running 2 hours ago | ||
taskID2 service2.1 myimage:mytag defaultNodeName Ready Running 3 hours ago | ||
taskID3 service3.1 myimage:mytag defaultNodeName Ready Running 2 hours ago | ||
taskID4 service4.1 myimage:mytag defaultNodeName Ready Running 3 hours ago |