Skip to content

Commit

Permalink
fix: go lint issue TencentBlueKing#962
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAi27 committed Aug 10, 2021
1 parent 9cbbf08 commit f77859a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,6 @@ func CreateCustomResourcesIndex(req *restful.Request, resp *restful.Response) {

if err := createCustomResourcesIndex(req); err != nil {
utils.SetSpanLogTagError(span, err)
// TODO:: Return errcode
blog.Errorf("%s | err: %v", common.BcsErrStorageDeleteResourceFailStr, err)
lib.ReturnRest(&lib.RestResponse{
Resp: resp,
Expand All @@ -345,7 +344,6 @@ func DeleteCustomResourcesIndex(req *restful.Request, resp *restful.Response) {

if err := deleteCustomResourcesIndex(req); err != nil {
utils.SetSpanLogTagError(span, err)
// TODO:: Return errcode
blog.Errorf("%s | err: %v", common.BcsErrStorageDeleteResourceFailStr, err)
lib.ReturnRest(&lib.RestResponse{
Resp: resp,
Expand Down

0 comments on commit f77859a

Please sign in to comment.