From 69ec26e9520a3c652e4a8fd626b201da47f71d1f Mon Sep 17 00:00:00 2001 From: Daniel Imfeld Date: Mon, 5 Oct 2015 12:59:02 -0500 Subject: [PATCH] And add a comment to the constant. --- client/fingerprint/env_gce.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/fingerprint/env_gce.go b/client/fingerprint/env_gce.go index c062efb49..92c7fec0f 100644 --- a/client/fingerprint/env_gce.go +++ b/client/fingerprint/env_gce.go @@ -15,6 +15,8 @@ import ( "github.com/hashicorp/nomad/nomad/structs" ) +// This is where the GCE metadata server normally resides. We hardcode the +// "instance" path as well since it's the only one we access here. const DEFAULT_GCE_URL = "http://169.254.169.254/computeMetadata/v1/instance/" type GCEMetadataClient struct {