Update builder/ucloud/uhost/step_copy_image.go

Co-Authored-By: Megan Marsh <megan@hashicorp.com>
This commit is contained in:
mingsheng.su 2019-06-28 12:04:36 +08:00 committed by GitHub
parent 33d9e1ca49
commit 0679f64689
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {