Skip to content

Commit

Permalink
fix(backup_ttl): set operation id
Browse files Browse the repository at this point in the history
  • Loading branch information
ulya-sidorina committed Sep 27, 2024
1 parent 9070cfd commit 21900be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/watchers/ttl_watcher/ttl_watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ func TtlWatcherAction(
if backup.ExpireAt != nil && backup.ExpireAt.Before(time.Now()) {
now := timestamppb.Now()
dbOp := &types.DeleteBackupOperation{
ID: types.GenerateObjectID(),
ContainerID: backup.ContainerID,
BackupID: backup.ID,
State: types.OperationStatePending,
Expand Down

0 comments on commit 21900be

Please sign in to comment.