diff --git a/integration_cli_test.go b/integration_cli_test.go index b413b78..55c4230 100644 --- a/integration_cli_test.go +++ b/integration_cli_test.go @@ -630,7 +630,7 @@ func (s *IntegrationCLITestSuite) TestNodeTagCommand() { assert.Nil(s.T(), err) json.Unmarshal([]byte(listAllResult), &resultMachines) found := false - for _, machine := range machines { + for _, machine := range resultMachines { if machine.ForcedTags != nil { for _, tag := range machine.ForcedTags { if tag == "tag:test" {