Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
  • Loading branch information
antoninbas committed May 6, 2024
1 parent 4801e2e commit 6386d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/agent/nodeportlocal/npl_agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ func conditionMatchAll([]types.NPLAnnotation) bool {
}

// If conditionFn is nil, we will assume you are looking for a non-existing annotation.
// If you want to match all, conditionMatchAll as the conditionFn.
// If you want to match all, use conditionMatchAll as the conditionFn.
func (t *testData) pollForPodAnnotationWithCondition(podName string, conditionFn func([]types.NPLAnnotation) bool) ([]types.NPLAnnotation, error) {
var nplValue []types.NPLAnnotation
// do not use PollImmediate: 1 second is reserved for the controller to do his job and
Expand Down

0 comments on commit 6386d2c

Please sign in to comment.