Skip to content

Commit

Permalink
Noting possible error when restoring immediately after backup
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Jan 5, 2022
1 parent b5d7c52 commit 4e03b85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions velero-plugin-for-aws/volume_snapshotter.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ func (b *VolumeSnapshotter) CreateVolumeFromSnapshot(compositeSnapshotID, volume

res, err := b.ec2.CreateVolume(req)
if err != nil {
// TODO wait if we receive: rpc error: code = Unknown desc = IncorrectState: Snapshot is in invalid state - pending
return "", errors.WithStack(err)
}

Expand Down

0 comments on commit 4e03b85

Please sign in to comment.