Skip to content

Commit

Permalink
Merge pull request #348 from rramkumar1/backends-update-patch
Browse files Browse the repository at this point in the history
Make sure we get a BackendService after updating it to populate object fingerprint [WIP]
  • Loading branch information
nicksardo authored Jun 20, 2018
2 parents c848efe + 9a85c28 commit 71c4475
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/backends/backends.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,12 @@ func (b *Backends) ensureBackendService(sp utils.ServicePort, igLinks []string)
if err = composite.UpdateBackendService(be, b.cloud); err != nil {
return err
}
// Get the BackendService after an update so that the Fingerprint
// is properly updated in our local copy.
be, getErr = b.Get(beName, version)
if getErr != nil {
return getErr
}
}

if b.backendConfigEnabled && sp.BackendConfig != nil {
Expand Down

0 comments on commit 71c4475

Please sign in to comment.