bugfix : fix image auth bug #615
Annotations
6 errors
|
lint
issues found
|
|
lint:
pkg/modules/image.go#L312
extractRepoFromImage - result 1 (error) is always nil (unparam)
|
|
lint:
pkg/modules/image.go#L327
empty-block: this block is empty, you can remove it (revive)
|
|
lint:
pkg/modules/image.go#L357
early-return: if c { ... } else { ... return } can be simplified to if !c { ... return } ... (revive)
|
|
lint:
pkg/modules/image.go#L345
empty-lines: extra empty line at the start of a block (revive)
|
|
lint:
pkg/modules/image.go#L271
var-declaration: should omit type int from declaration of var bestMatchScore; it will be inferred from the right-hand side (revive)
|