Skip to content

Commit

Permalink
remove setconfig from setDefaultRetentionMonthsInConfig (#27169)
Browse files Browse the repository at this point in the history
  • Loading branch information
akshya96 authored May 22, 2024
1 parent 7794593 commit ea47d24
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions vault/activity_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -2047,9 +2047,6 @@ func (a *ActivityLog) setDefaultRetentionMonthsInConfig(ctx context.Context, inp
if err := a.view.Put(ctx, entry); err != nil {
return inputConfig, err
}

// Set the new config on the activity log
a.SetConfig(ctx, inputConfig)
return inputConfig, nil
}

Expand Down

0 comments on commit ea47d24

Please sign in to comment.