builder/ncloud: fix dropped error
This commit is contained in:
parent
be0e9f7816
commit
4c9cfed743
|
@ -81,6 +81,9 @@ func (s *StepCreatePublicIPInstance) createPublicIPInstance(serverInstanceNo str
|
||||||
s.Say(fmt.Sprintf("Public IP Instance [%s:%s] is created", publicIPInstance.PublicIPInstanceNo, publicIP))
|
s.Say(fmt.Sprintf("Public IP Instance [%s:%s] is created", publicIPInstance.PublicIPInstanceNo, publicIP))
|
||||||
|
|
||||||
err = s.waiterAssociatePublicIPToServerInstance(serverInstanceNo, publicIP)
|
err = s.waiterAssociatePublicIPToServerInstance(serverInstanceNo, publicIP)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
return &publicIPInstance, nil
|
return &publicIPInstance, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue