add new tokens to job create #49
Annotations
10 errors and 1 warning
Run GolangCI-Lint:
internal/k8s/k8s.go#L686
Consider pre-allocating `rows` (prealloc)
|
Run GolangCI-Lint:
internal/k8s/k8s.go#L612
var-naming: struct field RemoveIpXE should be RemoveIPXE (revive)
|
Run GolangCI-Lint:
internal/k8s/informers.go#L15
unnecessary leading newline (whitespace)
|
Run GolangCI-Lint:
internal/k8s/informers.go#L24
unnecessary leading newline (whitespace)
|
Run GolangCI-Lint:
internal/k8s/informers.go#L44
unnecessary trailing newline (whitespace)
|
Run GolangCI-Lint:
internal/k8s/k8s.go#L172
unnecessary leading newline (whitespace)
|
Run GolangCI-Lint:
internal/k8s/informers.go#L27
type assertion must be checked (forcetypeassert)
|
Run GolangCI-Lint:
internal/k8s/k8s.go#L682
fmt.Errorf can be replaced with errors.New (perfsprint)
|
Run GolangCI-Lint:
internal/k8s/k8s.go#L188
error returned from interface method should be wrapped: sig: func (k8s.io/client-go/kubernetes/typed/core/v1.SecretInterface).Update(ctx context.Context, secret *k8s.io/api/core/v1.Secret, opts k8s.io/apimachinery/pkg/apis/meta/v1.UpdateOptions) (*k8s.io/api/core/v1.Secret, error) (wrapcheck)
|
Run GolangCI-Lint:
internal/table/table.go#L17
exported: type name will be used as table.TablePrinter by other packages, and that stutters; consider calling this Printer (revive)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading