From 902337413dbb3de99c64d3cb255e7165267f74a1 Mon Sep 17 00:00:00 2001 From: rejain456 Date: Tue, 21 Jan 2025 09:26:07 -0800 Subject: [PATCH] corrected the go lint of file --- cns/middlewares/k8sSwiftV2_windows.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cns/middlewares/k8sSwiftV2_windows.go b/cns/middlewares/k8sSwiftV2_windows.go index 8dfaba035c..d235335d69 100644 --- a/cns/middlewares/k8sSwiftV2_windows.go +++ b/cns/middlewares/k8sSwiftV2_windows.go @@ -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) }