Skip to content

Commit

Permalink
wip: skip it
Browse files Browse the repository at this point in the history
  • Loading branch information
avallete committed Nov 29, 2024
1 parent 9067734 commit 4511b92
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkg/config/updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,9 @@ func (u *ConfigUpdater) UpdateAuthConfig(ctx context.Context, projectRef string,
return nil
}
}
var updateBody v1API.UpdateAuthConfigBody
var updateBody = c.ToUpdateAuthConfigBody()
if u.skipSecrets {
updateBody = c.StripUpdateBodySecrets(c.ToUpdateAuthConfigBody())
} else {
updateBody = c.ToUpdateAuthConfigBody()
updateBody = c.StripUpdateBodySecrets(updateBody)
}
if resp, err := u.client.V1UpdateAuthServiceConfigWithResponse(ctx, projectRef, updateBody); err != nil {
return errors.Errorf("failed to update Auth config: %w", err)
Expand Down

0 comments on commit 4511b92

Please sign in to comment.