Skip to content

Commit

Permalink
correct format
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenggu authored and lbajolet-hashicorp committed May 24, 2024
1 parent 98dc2d9 commit 2e7e219
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion builder/openstack/step_create_volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func (s *StepCreateVolume) Cleanup(state multistep.StateBag) {
// Delete the volume in any status if exists.
err = volumes.Delete(blockStorageClient, s.volumeID, volumes.DeleteOpts{}).ExtractErr()
if err != nil {
ui.Error(fmt.Sprintf("Error cleaning up volume %q: %s. This may need manual deletion.", s.volumeID, err))
ui.Error(fmt.Sprintf(
"Error cleaning up volume %q: %s. This may need manual deletion.", s.volumeID, err))
}
}

0 comments on commit 2e7e219

Please sign in to comment.