Skip to content

Commit

Permalink
DUPLO-26240 ignore two lines for lint, these are not new
Browse files Browse the repository at this point in the history
  • Loading branch information
duplodavid committed Nov 11, 2024
1 parent 33d263b commit d396e13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions duplocloud/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ func (c *Client) doAPI(verb string, apiName string, apiPath string, rp interface
return nil
}
message := fmt.Sprintf("%s: received unexpected response: %s", apiName, bodyString)
//nolint:govet
logf(TRACE, message)
return appHttpError(req, message)
}
Expand All @@ -201,6 +202,7 @@ func (c *Client) doAPI(verb string, apiName string, apiPath string, rp interface
err = json.Unmarshal(body, rp)
if err != nil {
message := fmt.Sprintf("%s: cannot unmarshal response from JSON: %s", apiName, err.Error())
//nolint:govet
logf(TRACE, message)
return newHttpError(req, -1, message)
}
Expand Down

0 comments on commit d396e13

Please sign in to comment.