Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -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) {
|