remove setconfig from setDefaultRetentionMonthsInConfig (#27169)

This commit is contained in:
akshya96 2024-05-22 10:18:15 -07:00 committed by GitHub
parent 7794593cb3
commit ea47d24e59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}