Commit babe973
committed
fix: resolve 'Received spot notification for undefined' log message
When metrics are disabled, metricName is undefined and gets interpolated
into the log string as literal "undefined". Use conditional interpolation
so the message reads "Received spot notification" when no metric is set.1 parent 60fed70 commit babe973
File tree
2 files changed
+1
-1
lines changed- lambdas/functions/termination-watcher
- src
2 files changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
Binary file not shown.
0 commit comments