From 56c6fed42a3b1ae5683a1d0c2e113ba9d1c4f037 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Fri, 26 Jan 2018 15:20:12 -0800 Subject: [PATCH] ui.say vs ui.message --- builder/oracle/classic/step_create_ip_reservation.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/oracle/classic/step_create_ip_reservation.go b/builder/oracle/classic/step_create_ip_reservation.go index ca324b7e0..74466a39f 100644 --- a/builder/oracle/classic/step_create_ip_reservation.go +++ b/builder/oracle/classic/step_create_ip_reservation.go @@ -21,7 +21,7 @@ func (s *stepCreateIPReservation) Run(_ context.Context, state multistep.StateBa // TODO: add optional Name and Tags ipresName := fmt.Sprintf("ipres_%s_%s", config.ImageName, uuid.TimeOrderedUUID()) - ui.Say(fmt.Sprintf("Creating temporary IP reservation: %s", ipresName)) + ui.Message(fmt.Sprintf("Creating temporary IP reservation: %s", ipresName)) IPInput := &compute.CreateIPReservationInput{ ParentPool: compute.PublicReservationPool, @@ -43,7 +43,7 @@ func (s *stepCreateIPReservation) Run(_ context.Context, state multistep.StateBa func (s *stepCreateIPReservation) Cleanup(state multistep.StateBag) { ui := state.Get("ui").(packer.Ui) - ui.Message("Cleaning up IP reservations...") + ui.Say("Cleaning up IP reservations...") client := state.Get("client").(*compute.ComputeClient) ipResName := state.Get("ipres_name").(string)