diff --git a/.golangci.yml b/.golangci.yml index a809cab..da2495e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -80,7 +80,6 @@ linters: - bodyclose - depguard - errorlint - - exportloopref - gci - gocheckcompilerdirectives - gocritic diff --git a/internal/cmd/stack/environment.go b/internal/cmd/stack/environment.go index 79cb549..fed1586 100644 --- a/internal/cmd/stack/environment.go +++ b/internal/cmd/stack/environment.go @@ -206,7 +206,7 @@ func (e *configElement) toConfigElementOutput(contextName *string) (listEnvEleme if err != nil { message := fmt.Sprintf("failed to decode base64-encoded file with id %s", e.ID) - return listEnvElementOutput{}, errors.Wrapf(err, message) + return listEnvElementOutput{}, errors.Wrap(err, message) } stringValue := string(result) diff --git a/internal/cmd/stack/open_command.go b/internal/cmd/stack/open_command.go index 2a4ccf3..807879a 100644 --- a/internal/cmd/stack/open_command.go +++ b/internal/cmd/stack/open_command.go @@ -201,7 +201,7 @@ func searchStacks(ctx context.Context, p *stackSearchParams) ([]stack, error) { } variables := map[string]interface{}{"input": structs.SearchInput{ - First: graphql.NewInt(graphql.Int(p.count)), + First: graphql.NewInt(graphql.Int(p.count)), //nolint: gosec Predicates: &conditions, }} diff --git a/internal/cmd/stack/run_logs.go b/internal/cmd/stack/run_logs.go index 65207e1..fc77a00 100644 --- a/internal/cmd/stack/run_logs.go +++ b/internal/cmd/stack/run_logs.go @@ -175,7 +175,7 @@ func runStateLogs(ctx context.Context, stack, run string, state structs.RunState "run": graphql.ID(run), "state": state, "token": token, - "stateVersion": graphql.Int(version), + "stateVersion": graphql.Int(version), //nolint: gosec } var backOff time.Duration