Commit 96170c5
committed
Address additional lint issues
- the prealloc warning in internal/bridge/crunchybridgecluster/watches.go
doesn't occur in 5.8+ so it wasn't handled previously
- the gosec conversion issue in internal/controller/postgrescluster/instance.go
is handled similarly in 5.8. This slice should always be small.1 parent 0a96693 commit 96170c5
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| 339 | + | |
339 | 340 | | |
340 | 341 | | |
341 | 342 | | |
| |||
0 commit comments