Skip to content

Commit

Permalink
fix: lint accomodate -> accommodate
Browse files Browse the repository at this point in the history
  • Loading branch information
samlaf committed Aug 22, 2024
1 parent ed951a7 commit cba4754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func WithMetrics(handleFn func(http.ResponseWriter, *http.Request) error,
// where the first 3 bytes of the path are the commitment header
// commit type | da layer type | version byte
// we want to group all requests by commitment header, otherwise the prometheus metric labels will explode
// TODO: commitment header is different for non-op commitments. We will need to change this to accomodate other commitments.
// TODO: commitment header is different for non-op commitments. We will need to change this to accommodate other commitments.
// probably want (commitment mode, cert version) as the labels, since commit-type/da-layer are not relevant anyways.
commitmentHeader := r.URL.Path[:3]
recordDur := m.RecordRPCServerRequest(commitmentHeader)
Expand Down

0 comments on commit cba4754

Please sign in to comment.