From 2c89aa176abc8c97a39e03228211d98ac62d652f Mon Sep 17 00:00:00 2001 From: Quang Nguyen Date: Wed, 15 Nov 2023 16:30:06 -0500 Subject: [PATCH] fix: linter issue --- cns/restserver/ipam.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cns/restserver/ipam.go b/cns/restserver/ipam.go index b41fd2f3ab4..1bd62e61fb9 100644 --- a/cns/restserver/ipam.go +++ b/cns/restserver/ipam.go @@ -270,7 +270,7 @@ func (service *HTTPRestService) releaseIPConfigHandlerHelper(ctx context.Context Message: err.Error(), }, } - return resp, fmt.Errorf("releaseIPConfigHandlerHelper remove endpoint state failed because %v, release IP config info %+v", resp.Response.Message, ipconfigsRequest) //nolint:goerr113 // return error + return resp, fmt.Errorf("releaseIPConfigHandlerHelper remove endpoint state failed : %v, release IP config info %+v", resp.Response.Message, ipconfigsRequest) //nolint:goerr113 // return error } } @@ -280,7 +280,7 @@ func (service *HTTPRestService) releaseIPConfigHandlerHelper(ctx context.Context ReturnCode: types.UnexpectedError, Message: err.Error(), }, - }, fmt.Errorf("releaseIPConfigHandlerHelper releaseIPConfigs failed because %v, release IP config info %+v", returnMessage, ipconfigsRequest) //nolint:goerr113 // return error + }, fmt.Errorf("releaseIPConfigHandlerHelper releaseIPConfigs failed : %v, release IP config info %+v", returnMessage, ipconfigsRequest) //nolint:goerr113 // return error } return &cns.IPConfigsResponse{