Commit 49d22bf
authored
Refactor Hubble config conditions: use
Refactor: Replace `length > 0` with `is not none` for Hubble export config
- Addressed reviewer feedback: avoid using `length > 0` which fails on integer types
- Updated Jinja2 conditionals to use `is not none` for proper type safety
- Prevents runtime errors when values are provided as integers (e.g., 100, 5)is not none instead of length > 0
1 parent 92278f2 commit 49d22bf
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
0 commit comments