mirror of https://github.com/docker/docs.git
gce: fix for instance not being refreshed on create
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
parent
56ec00b3d2
commit
31b1eb0875
|
@ -196,11 +196,17 @@ func (c *ComputeUtil) createInstance(d *Driver) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
log.Infof("Waiting for Instance...")
|
||||
if err = c.waitForRegionalOp(op.Name); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
instance, err = c.instance()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// Update the SSH Key
|
||||
sshKey, err := ioutil.ReadFile(d.GetSSHKeyPath() + ".pub")
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue