ソースを参照

TestContainerInspectNode: document test as being for classic swarm

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 5 年 前
コミット
b5c22f4fcf
1 ファイル変更2 行追加0 行削除
  1. 2 0
      client/container_inspect_test.go

+ 2 - 0
client/container_inspect_test.go

@@ -88,6 +88,8 @@ func TestContainerInspect(t *testing.T) {
 	}
 }
 
+// TestContainerInspectNode tests that the "Node" field is included in the "inspect"
+// output. This information is only present when connected to a Swarm standalone API.
 func TestContainerInspectNode(t *testing.T) {
 	client := &Client{
 		client: newMockClient(func(req *http.Request) (*http.Response, error) {