Skip to content

Commit

Permalink
corrected the go lint of file
Browse files Browse the repository at this point in the history
  • Loading branch information
rejain456 committed Jan 21, 2025
1 parent 0c43db6 commit 9023374
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cns/middlewares/k8sSwiftV2_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ func mustGetEndpointPolicy(direction string) policy.Policy {
// get policy of type endpoint policy given the params
func getEndpointPolicy(direction string) (policy.Policy, error) {
endpointPolicy, err := createEndpointPolicy(direction)

if err != nil {
return policy.Policy{}, fmt.Errorf("error creating endpoint policy: %w", err)
}
Expand Down

0 comments on commit 9023374

Please sign in to comment.