Skip to content

Commit cc8a751

Browse files
committed
changed param to unused param
1 parent 98900d8 commit cc8a751

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cns/middlewares/k8sSwiftV2.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ func (k *K8sSWIFTv2Middleware) IPConfigsRequestHandlerWrapper(defaultHandler, fa
110110
// nolint
111111
func (k *K8sSWIFTv2Middleware) validateIPConfigsRequest(ctx context.Context, req *cns.IPConfigsRequest) (podInfo cns.PodInfo, respCode types.ResponseCode, message string, defaultDenyACL bool) {
112112
defaultDenyACLbool := false
113+
113114
// Retrieve the pod from the cluster
114115
podInfo, err := cns.UnmarshalPodInfo(req.OrchestratorContext)
115116
if err != nil {

cns/middlewares/k8sSwiftV2_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,6 @@ func (k *K8sSWIFTv2Middleware) assignSubnetPrefixLengthFields(_ *cns.PodIpInfo,
104104

105105
func (k *K8sSWIFTv2Middleware) addDefaultRoute(*cns.PodIpInfo, string) {}
106106

107-
func addDefaultDenyACL(podIPInfo *cns.PodIpInfo) error {
107+
func addDefaultDenyACL(_ *cns.PodIpInfo) error {
108108
return nil
109109
}

0 commit comments

Comments
 (0)