From b77bcd64fd52adaf4d4fe4c721d0a8db5655e09c Mon Sep 17 00:00:00 2001 From: James Nugent Date: Thu, 18 Feb 2016 08:23:20 -0800 Subject: [PATCH] Remove TODO comment --- builtin/providers/google/provider.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/builtin/providers/google/provider.go b/builtin/providers/google/provider.go index ff89b27fb3..8514b26066 100644 --- a/builtin/providers/google/provider.go +++ b/builtin/providers/google/provider.go @@ -146,8 +146,7 @@ func validateCredentials(v interface{}, k string) (warnings []string, errors []e return } -// FIXME: not sure this is the best place for this -// Given a Google zone (e.g. us-central1-f) this func returns the Region, us-central1 in this example. +// getRegionFromZone returns the region from a zone for Google cloud. func getRegionFromZone(zone string) string { if zone != "" && len(zone) > 2 { region := zone[:len(zone)-2]