mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
fix test
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user