about summary refs log tree commit diff
path: root/fun
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-02-21T12·51+0000
committerVincent Ambo <tazjin@google.com>2020-02-21T13·54+0000
commit3d1f568ddb3b8d35c66eb28485226b69d60724b7 (patch)
tree9af68e1dc7998c30acceb17e8ef48860ac47e387 /fun
parentf2235ba0aed43ad7a161d83b744e26b5acda3c85 (diff)
fix(fun/amsterdump): Fix call to os.Getenv r/561
Not sure how this broken version ended up committed ...
Diffstat (limited to 'fun')
-rw-r--r--fun/amsterdump/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fun/amsterdump/main.go b/fun/amsterdump/main.go
index dda9995b7c..77f7392f4b 100644
--- a/fun/amsterdump/main.go
+++ b/fun/amsterdump/main.go
@@ -84,7 +84,7 @@ func main() {
 	failOn(err, "could not deserialise listings:")
 
 	ctx := context.Background()
-	apiKey = os.Getenv("MAPS_API_KEY", "")
+	apiKey := os.Getenv("MAPS_API_KEY")
 	if apiKey == "" {
 		log.Fatalln("API key must be supplied via MAPS_API_KEY")
 	}