From af7e1413a5f06de2f6b02ec397d571aeba41d5c0 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Mon, 30 Oct 2017 12:35:31 -0700 Subject: [PATCH] fix test --- client/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client_test.go b/client/client_test.go index 407009de24b..fbd49de2cf6 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -222,7 +222,7 @@ func TestClient_HasNodeChanged(t *testing.T) { c := testClient(t, nil) defer c.Shutdown() - node := c.Node() + node := c.config.Node attrHash, err := hashstructure.Hash(node.Attributes, nil) if err != nil { c.logger.Printf("[DEBUG] client: unable to calculate node attributes hash: %v", err)