From f16468c27ab3753f34a540067a5aa2ea9dc565ad Mon Sep 17 00:00:00 2001 From: Troy Swanson Date: Fri, 15 Apr 2016 15:42:57 -0500 Subject: [PATCH] Make logging more consistent --- client/fingerprint/env_gce.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/fingerprint/env_gce.go b/client/fingerprint/env_gce.go index a5af20c69..68f74d035 100644 --- a/client/fingerprint/env_gce.go +++ b/client/fingerprint/env_gce.go @@ -96,14 +96,14 @@ func (f *EnvGCEFingerprint) Get(attribute string, recursive bool) (string, error res, err := f.client.Do(req) if err != nil || res.StatusCode != http.StatusOK { - f.logger.Printf("[WARN]: fingerprint.env_gce: Could not read value for attribute %q", attribute) + f.logger.Printf("[WARN] fingerprint.env_gce: Could not read value for attribute %q", attribute) return "", err } resp, err := ioutil.ReadAll(res.Body) res.Body.Close() if err != nil { - f.logger.Printf("[ERR]: fingerprint.env_gce: Error reading response body for GCE %s", attribute) + f.logger.Printf("[ERR] fingerprint.env_gce: Error reading response body for GCE %s", attribute) return "", err }