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. cloud/
  2. cmd/
  3. .gitignore
  4. .travis.yml
  5. AUTHORS
  6. codereview.cfg
  7. CONDUCT.md
  8. CONTRIBUTING.md
  9. CONTRIBUTORS
  10. LICENSE
  11. PATENTS
  12. README.md
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.