Skip to content

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

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

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

Triggered via pull request May 14, 2024 23:16
Status Failure
Total duration 2m 8s
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/set.go#L61
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/set.go#L61
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/show.go#L34
assignment mismatch: 2 variables but collectLogLevelConfiguration returns 4 values
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#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#L121
not enough arguments in call to instance.UpdateDebuggingConfiguration
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/set.go#L61
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/set.go#L61
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/show.go#L34
assignment mismatch: 2 variables but collectLogLevelConfiguration returns 4 values
build-ut: internal/commands/loglevel/unset.go#L30
assignment mismatch: 2 variables but collectLogLevelConfiguration returns 4 values
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#L121
not enough arguments in call to instance.UpdateDebuggingConfiguration