Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
robskillington committed Dec 4, 2020
1 parent f3e53ba commit 269215f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/query/api/v1/handler/ready.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ type readyResult struct {
NotReadyWrites []readyResultNamespace `json:"notReadyWrites,omitempty"`
}

// ServeHTTP serves HTTP handler. This comment only here so doesn't break
// lint by not being "ServeHTTP" as the comment above this function
// which needs // nolint:gocyclo.
// nolint:gocyclo
func (h *ReadyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
logger := logging.WithContext(r.Context(), h.instrumentOpts)
Expand Down

0 comments on commit 269215f

Please sign in to comment.