From ef1517064c5e2041dcc747ef3b7866438ecfbe1d Mon Sep 17 00:00:00 2001 From: Valentin Tjoncke Date: Sat, 24 Sep 2016 21:12:25 +0200 Subject: [PATCH] googlecompute/builder: Always show message when checking image exists --- builder/googlecompute/step_check_existing_image.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/builder/googlecompute/step_check_existing_image.go b/builder/googlecompute/step_check_existing_image.go index 8d43c98c1..dbad5cf1c 100644 --- a/builder/googlecompute/step_check_existing_image.go +++ b/builder/googlecompute/step_check_existing_image.go @@ -17,10 +17,7 @@ func (s *StepCheckExistingImage) Run(state multistep.StateBag) multistep.StepAct d := state.Get("driver").(Driver) ui := state.Get("ui").(packer.Ui) - if !c.PackerForce { - ui.Say("Checking image does not exist...") - } - + ui.Say("Checking image does not exist...") c.imageAlreadyExists = d.ImageExists(c.ImageName) if !c.PackerForce && c.imageAlreadyExists { err := fmt.Errorf("Image %s already exists.\n"+