Skip to content

Commit

Permalink
fix comiple
Browse files Browse the repository at this point in the history
Signed-off-by: Hongbin Ma (Mahone) <[email protected]>
  • Loading branch information
binmahone committed Jun 14, 2024
1 parent 8b3326e commit 441f9c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ object ThreadLocalMetrics {
def onMetricsExit(gpuMetric: GpuMetric): Unit = {
if (gpuMetric != NoopMetric) {
if (!ThreadLocalMetrics.currentThreadMetrics.get().contains(gpuMetric)) {
throw new IllegalStateException()("Metric missing from thread local storage: "
throw new IllegalStateException("Metric missing from thread local storage: "
+ gpuMetric)
}
ThreadLocalMetrics.currentThreadMetrics.get().remove(gpuMetric)
Expand Down

0 comments on commit 441f9c0

Please sign in to comment.