Fixing the metric tagging issue here (#1986)

Co-authored-by: chris <chris@Profanity.local>
This commit is contained in:
Prawn
2020-09-07 20:10:04 +12:00
committed by GitHub
parent f12473f4b1
commit 71f8cbd5e2

View File

@@ -40,7 +40,7 @@ func (w *Wrapper) HandlerFunc(handlerFunction server.HandlerFunc) server.Handler
if err != nil {
tags["result"] = "failure"
} else {
tags["result"] = "failure"
tags["result"] = "success"
}
// Instrument the result (if the DefaultClient has been configured):