Skip to content

set-log-severity-for-managed-cluster-components #486

set-log-severity-for-managed-cluster-components

set-log-severity-for-managed-cluster-components #486

Triggered via pull request May 15, 2024 14:06
Status Failure
Total duration 2m 22s
Artifacts

main.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors
build-static-test: internal/commands/loglevel/set.go#L30
assignment mismatch: 2 variables but collectLogLevelConfiguration returns 4 values
build-static-test: internal/commands/loglevel/set.go#L61
too many return values
build-static-test: internal/commands/loglevel/show.go#L34
assignment mismatch: 2 variables but collectLogLevelConfiguration returns 4 values
build-static-test: internal/commands/loglevel/show.go#L34
too many arguments in call to collectLogLevelConfiguration
build-static-test: internal/commands/loglevel/unset.go#L30
assignment mismatch: 2 variables but collectLogLevelConfiguration returns 4 values
build-static-test: internal/commands/loglevel/unset.go#L30
too many arguments in call to collectLogLevelConfiguration
build-static-test: internal/commands/loglevel/unset.go#L51
too many return values
build-static-test: internal/commands/loglevel/unset.go#L51
cannot use spec (variable of type []"github.com/projectsveltos/libsveltos/api/v1alpha1".ComponentConfiguration) as string value in argument to updateLogLevelConfiguration
build-static-test: internal/commands/loglevel/unset.go#L51
cannot use clusterName (variable of type string) as []"github.com/projectsveltos/libsveltos/api/v1alpha1".ComponentConfiguration value in argument to updateLogLevelConfiguration
build-static-test: internal/commands/loglevel/utils.go#L93
not enough return values
build-ut: internal/commands/loglevel/set.go#L30
assignment mismatch: 2 variables but collectLogLevelConfiguration returns 4 values
build-ut: internal/commands/loglevel/set.go#L61
too many return values
build-ut: internal/commands/loglevel/show.go#L34
assignment mismatch: 2 variables but collectLogLevelConfiguration returns 4 values
build-ut: internal/commands/loglevel/show.go#L34
too many arguments in call to collectLogLevelConfiguration
build-ut: internal/commands/loglevel/unset.go#L30
assignment mismatch: 2 variables but collectLogLevelConfiguration returns 4 values
build-ut: internal/commands/loglevel/unset.go#L30
too many arguments in call to collectLogLevelConfiguration
build-ut: internal/commands/loglevel/unset.go#L51
too many return values
build-ut: internal/commands/loglevel/unset.go#L51
cannot use spec (variable of type []"github.com/projectsveltos/libsveltos/api/v1alpha1".ComponentConfiguration) as string value in argument to updateLogLevelConfiguration
build-ut: internal/commands/loglevel/unset.go#L51
cannot use clusterName (variable of type string) as []"github.com/projectsveltos/libsveltos/api/v1alpha1".ComponentConfiguration value in argument to updateLogLevelConfiguration
build-ut: internal/commands/loglevel/utils.go#L93
not enough return values