add error message
This commit is contained in:
parent
a66dfe1972
commit
0117f53721
|
@ -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
|
||||||
// ...
|
// ...
|
||||||
|
|
Loading…
Reference in New Issue