Update builder/ucloud/uhost/step_copy_image.go
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
This commit is contained in:
parent
33d9e1ca49
commit
0679f64689
|
@ -117,7 +117,7 @@ func (s *stepCopyUCloudImage) Cleanup(state multistep.StateBag) {
|
|||
ui := state.Get("ui").(packer.Ui)
|
||||
client := state.Get("client").(*UCloudClient)
|
||||
conn := client.uhostconn
|
||||
ui.Say(fmt.Sprintf("Deleting copied image because cancellation or error..."))
|
||||
ui.Say(fmt.Sprintf("Deleting copied image because of cancellation or error..."))
|
||||
|
||||
for _, v := range imageInfos {
|
||||
if v.ImageId == srcImageId {
|
||||
|
|
Loading…
Reference in New Issue