Skip to content

Commit

Permalink
openstack: add log
Browse files Browse the repository at this point in the history
Signed-off-by: Benny Zlotnik <[email protected]>
  • Loading branch information
bennyz committed Sep 20, 2023
1 parent e9be48a commit 67981c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controller/plan/adapter/openstack/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ func (r *Client) cleanup(vm *libclient.VM, originalVolumeID string) (err error)
volume, err := r.getVolumeFromSnapshot(vm, snapshot.ID)
if err != nil {
if errors.Is(err, ResourceNotFoundError) {
r.Log.Info("volume not found, we are done")
done = true
err = nil
return
Expand Down

0 comments on commit 67981c2

Please sign in to comment.