add error message

This commit is contained in:
Megan Marsh 2018-01-12 16:51:59 -08:00 committed by Matthew Hooker
parent a66dfe1972
commit 0117f53721
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,10 @@ func (s *stepCreateIPReservation) Run(state multistep.StateBag) multistep.StepAc
Shape: config.Shape, Shape: config.Shape,
ImageList: config.ImageList, ImageList: config.ImageList,
}) })
if err != nil {
fmt.Printf("Error creating launch plan definition: %s", err)
return "", err
}
// command line call // command line call
// $ opc compute launch-plans add --request-body=./master-instance.json // $ opc compute launch-plans add --request-body=./master-instance.json
// ... // ...