algorand/recover: format fix

This commit is contained in:
Josh Siegel 2023-01-04 20:21:40 +00:00 committed by jumpsiegel
parent b3d2f838cd
commit 0872f4ff16
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ func RunWithScissors(ctx context.Context, errC chan error, name string, runnable
default:
errC <- fmt.Errorf("%s: %v", name, x)
}
ScissorsErrors.WithLabelValues("scissors", name).Inc()
ScissorsErrors.WithLabelValues("scissors", name).Inc()
}
}()
@ -49,7 +49,7 @@ func WrapWithScissors(runnable supervisor.Runnable, name string) supervisor.Runn
default:
result = fmt.Errorf("%s: %v", name, x)
}
ScissorsErrors.WithLabelValues("scissors", name).Inc()
ScissorsErrors.WithLabelValues("scissors", name).Inc()
}
}()