Commit 1ed7c4b
committed
fix: correct f-string syntax in OPA plugin error logging
The f-string at line 225 had incorrect syntax with the colon and
variable inside the format specifier. Changed from:
f"{OPAPluginErrorCodes.UNSUPPORTED_HOOK_TYPE.value: {hook}}"
to:
f"{OPAPluginErrorCodes.UNSUPPORTED_HOOK_TYPE.value}: {hook}"
Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>1 parent d35004b commit 1ed7c4b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| |||
0 commit comments