Commit 28e1892
committed
fix: silence new gosec rules introduced by golangci-lint v2.12.2
G122 (Walk TOCTOU) excluded globally — fixing requires os.Root refactor.
G710 and G118 suppressed inline where the flagged pattern is intentional.
Signed-off-by: Dorin Geman <dorin.geman@docker.com>1 parent 12c2d35 commit 28e1892
3 files changed
Lines changed: 3 additions & 2 deletions
File tree
- pkg
- distribution/oci/remote
- inference/scheduling
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
| 462 | + | |
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
| 486 | + | |
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
| |||
0 commit comments