chore: fix RFC extension and formatting #85
Annotations
10 errors
golangci-lint:
internal/admission/wardleinitializer/wardleinitializer.go#L31
unexported-return: exported func New returns unexported type wardleinitializer.pluginInitializer, which can be annoying to use (revive)
|
golangci-lint:
cmd/storage/server/start.go#L69
G115: integer overflow conversion uint -> int (gosec)
|
golangci-lint:
cmd/storage/server/start.go#L172
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
cmd/storage/server/start.go#L188
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
golangci-lint:
cmd/storage/server/start.go#L34
ST1019: package "k8s.io/apiserver/pkg/server/options" is being imported more than once (stylecheck)
|
golangci-lint:
cmd/storage/server/start.go#L35
ST1019(related information): other import of "k8s.io/apiserver/pkg/server/options" (stylecheck)
|
golangci-lint:
cmd/storage/server/start.go#L194
error returned from external package is unwrapped: sig: func github.com/rancher/sbombastic/pkg/generated/clientset/versioned.NewForConfig(c *k8s.io/client-go/rest.Config) (*github.com/rancher/sbombastic/pkg/generated/clientset/versioned.Clientset, error) (wrapcheck)
|
golangci-lint:
cmd/storage/server/start.go#L220
error returned from external package is unwrapped: sig: func (*k8s.io/apiserver/pkg/server/options.RecommendedOptions).ApplyTo(config *k8s.io/apiserver/pkg/server.RecommendedConfig) error (wrapcheck)
|
golangci-lint:
cmd/storage/server/start.go#L239
error returned from external package is unwrapped: sig: func (github.com/rancher/sbombastic/internal/apiserver.completedConfig).New(db *github.com/jmoiron/sqlx.DB) (*github.com/rancher/sbombastic/internal/apiserver.WardleServer, error) (wrapcheck)
|
golangci-lint:
cmd/storage/server/start.go#L248
error returned from external package is unwrapped: sig: func (k8s.io/apiserver/pkg/server.preparedGenericAPIServer).RunWithContext(ctx context.Context) error (wrapcheck)
|
Loading