Skip to content

Commit

Permalink
fixed golint
Browse files Browse the repository at this point in the history
  • Loading branch information
rejain456 committed Jan 18, 2025
1 parent 3271d88 commit bde71a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cni/network/network_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1350,8 +1350,8 @@ func TestPluginWindowsAdd(t *testing.T) {
epInfo1.EndpointPolicies[0] = policy.Policy{
Type: policy.ACLPolicy,
}
require.Equal(t, len(epInfo1.EndpointPolicies), 1)
require.Equal(t, len(epInfo2.EndpointPolicies), 1)
require.Len(t, epInfo1.EndpointPolicies, 1)
require.Len(t, epInfo2.EndpointPolicies, 1)
require.NotEqual(t, epInfo1.EndpointPolicies, epInfo2.EndpointPolicies)
}
// ensure the network policy slices are separate entities when in separate endpoint infos
Expand Down

0 comments on commit bde71a2

Please sign in to comment.