Skip to content

Commit

Permalink
refactor: correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Hardikl committed Nov 30, 2023
1 parent ca58955 commit 917dbb4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions integration/test/dashboard_json_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const (
)

var restDataCollectors = []string{"Rest"}
var zapiDataCollectors = []string{"Zapi"}

var fileSet []string

Expand Down Expand Up @@ -250,7 +249,7 @@ func counterIsMissing(flavor string, counter string, waitFor time.Duration) bool
}
query := counter + `{datacenter=~"` + strings.Join(restDataCollectors, "|") + `"}`
if flavor == zapi {
query = counter + `{datacenter!~"` + strings.Join(zapiDataCollectors, "|") + `"}`
query = counter + `{datacenter!~"` + strings.Join(restDataCollectors, "|") + `"}`
}
return !hasDataInDB(query, waitFor)
}
Expand Down

0 comments on commit 917dbb4

Please sign in to comment.