Skip to content

Commit

Permalink
ci: Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
0michalsokolowski0 committed Aug 26, 2024
1 parent 2549692 commit eb7599f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ linters:
- bodyclose
- depguard
- errorlint
- exportloopref
- gci
- gocheckcompilerdirectives
- gocritic
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/stack/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/stack/open_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}}

Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/stack/run_logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb7599f

Please sign in to comment.