mirror of https://github.com/docker/docs.git
Merge pull request #1072 from ehazlett/gce-fix-instance-refresh
gce: fix for instance not being refreshed on create
This commit is contained in:
commit
aa5cda2e0b
|
@ -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