Skip to content

Commit

Permalink
httptransport: fix panic in metrics registration
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay committed Mar 10, 2021
1 parent 7305b3d commit 1ac26da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httptransport/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func (t *Server) configureNotifierMode(ctx context.Context) error {
intromw.InstrumentedHandler(KeysAPIPath, t.traceOpt, KeysHandler(ks)))

t.Handle(KeyByIDAPIPath,
intromw.InstrumentedHandler(KeyByIDAPIPath, t.traceOpt, KeyByIDHandler(ks)))
intromw.InstrumentedHandler(KeyByIDAPIPath+"_KEY", t.traceOpt, KeyByIDHandler(ks)))

return nil
}
Expand Down

0 comments on commit 1ac26da

Please sign in to comment.