feat(syncer): add resource syncer #2077
Annotations
11 errors
|
lint:
pkg/controllers/resourcesyncer/secret/controller_test.go#L323
require-error: for error assertions use require (testifylint)
|
|
lint:
pkg/controllers/resourcesyncer/secret/controller_test.go#L318
require-error: for error assertions use require (testifylint)
|
|
lint:
pkg/controllers/resourcesyncer/secret/controller.go#L242
Magic number: 0o644, in <argument> detected (mnd)
|
|
lint:
pkg/controllers/resourcesyncer/secret/controller.go#L233
Magic number: 0o644, in <argument> detected (mnd)
|
|
lint:
pkg/controllers/resourcesyncer/secret/controller.go#L194
Magic number: 0o755, in <argument> detected (mnd)
|
|
lint:
cmd/resource-syncer/main.go#L144
Magic number: 0o755, in <argument> detected (mnd)
|
|
lint:
pkg/controllers/resourcesyncer/secret/controller_test.go#L226
`happended` is a misspelling of `happened` (misspell)
|
|
lint:
pkg/controllers/resourcesyncer/secret/controller.go#L80
`infinit` is a misspelling of `infinite` (misspell)
|
|
lint:
pkg/controllers/resourcesyncer/secret/controller.go#L94
deferInLoop: Possible resource leak, 'defer' is called in the 'for' loop (gocritic)
|
|
lint:
pkg/controllers/resourcesyncer/secret/controller_test.go#L284
Error return value of `afero.Walk` is not checked (errcheck)
|
|
unit
Process completed with exit code 2.
|