Skip to content

Commit

Permalink
Changed enable to enabled in AssertExternalIps
Browse files Browse the repository at this point in the history
  • Loading branch information
JoukoVirtanen committed Dec 2, 2024
1 parent 65be359 commit bc20e2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration-tests/pkg/assert/assert.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var (
runtimeConfigErrorMsg = "Runtime configuration was not updated"
)

func AssertExternalIps(t *testing.T, enable bool, collectorIP string) {
func AssertExternalIps(t *testing.T, enabled bool, collectorIP string) {
tickTime := 1 * time.Second
timeout := 3 * time.Minute
AssertRepeated(t, tickTime, timeout, runtimeConfigErrorMsg, func() bool {
Expand All @@ -29,7 +29,7 @@ func AssertExternalIps(t *testing.T, enable bool, collectorIP string) {
err = json.Unmarshal(body, &response)
assert.NoError(t, err)

return response.Networking.ExternalIps.Enable == enable
return response.Networking.ExternalIps.Enable == enabled
})
}

Expand Down

0 comments on commit bc20e2a

Please sign in to comment.