Browse code

TestContainerInspectNode: document test as being for classic swarm

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2020/01/03 19:47:35
Showing 1 changed files
... ...
@@ -88,6 +88,8 @@ func TestContainerInspect(t *testing.T) {
88 88
 	}
89 89
 }
90 90
 
91
+// TestContainerInspectNode tests that the "Node" field is included in the "inspect"
92
+// output. This information is only present when connected to a Swarm standalone API.
91 93
 func TestContainerInspectNode(t *testing.T) {
92 94
 	client := &Client{
93 95
 		client: newMockClient(func(req *http.Request) (*http.Response, error) {