cmd/hostserver-gcp: don't update record if no change has been made

If the requested host/IP is already set then don't make any changes.
Easy to do since we already look up the existing records before making
the change.

Change-Id: I6cd2b4edf6540b1ce058de645931eb6ef20eb3ba
Reviewed-on: https://upspin-review.googlesource.com/12260
Reviewed-by: Rob Pike <r@golang.org>
1 file changed
tree: a55ace2239c8419e636f05dd8c0d65f425ecacfe
  1. .gitignore
  2. .travis.yml
  3. AUTHORS
  4. CONDUCT.md
  5. CONTRIBUTING.md
  6. CONTRIBUTORS
  7. LICENSE
  8. PATENTS
  9. README.md
  10. cloud/
  11. cmd/
  12. codereview.cfg
README.md

Upspin gcp repository

This repository contains support for running Upspin against Google Cloud Storage and/or Google Container Engine.

See the Setting up upspinserver document for information about running an Upspin service that stores its data in Google Cloud Storage.

See the Deploying Upspin servers to Google Cloud Platform document for information about running an Upspin cluster on Google Container Engine.

See the master repository for more information about the Upspin project.