Skip to content

Commit

Permalink
fix: updated linter
Browse files Browse the repository at this point in the history
Signed-off-by: Paul <[email protected]>
  • Loading branch information
Pauti committed Jun 27, 2024
1 parent f950ba2 commit 1c0d2b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ linters:
- unconvert
- unparam
- unused
- vet
- govet
3 changes: 1 addition & 2 deletions internal/provider/gql.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,12 +427,11 @@ func (c *ExtendedGqlClient) UpdateFramework(ctx context.Context, frameworkMrn st
}

func (c *ExtendedGqlClient) BulkUpdateFramework(ctx context.Context, frameworkMrns basetypes.ListValue, spaceId string, enabled bool) error {

scopeMrn := ""
if spaceId != "" {
scopeMrn = spacePrefix + spaceId
}

var frameworkList []mondoov1.String
listFrameworks, _ := frameworkMrns.ToListValue(ctx)
listFrameworks.ElementsAs(ctx, &frameworkList, true)
Expand Down

0 comments on commit 1c0d2b9

Please sign in to comment.