Skip to content

Commit

Permalink
fix: linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nddq committed Nov 16, 2023
1 parent 16abd5f commit bb52bed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cns/restserver/ipam.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand All @@ -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{
Expand Down

0 comments on commit bb52bed

Please sign in to comment.