remove copypasta comment

This commit is contained in:
Megan Marsh 2018-01-31 15:02:19 -08:00
parent 66cd85828e
commit 3180dc327c
1 changed files with 1 additions and 2 deletions

View File

@ -24,8 +24,8 @@ func (s *stepListImages) Run(_ context.Context, state multistep.StateBag) multis
}
imList, err := imageListClient.GetImageList(&getInput)
if err != nil {
ui.Say(fmt.Sprintf(err.Error()))
// If the list didn't exist, create it.
ui.Say(fmt.Sprintf(err.Error()))
ui.Say(fmt.Sprintf("Destination image list %s does not exist; Creating it...",
config.DestImageList))
@ -34,7 +34,6 @@ func (s *stepListImages) Run(_ context.Context, state multistep.StateBag) multis
Description: "Packer-built image list",
}
// Load the packer-generated SSH key into the Oracle Compute cloud.
imList, err = imageListClient.CreateImageList(&ilInput)
if err != nil {
err = fmt.Errorf("Problem creating image list: %s", err)