diff options
author | Vincent Ambo <tazjin@google.com> | 2020-02-21T12·51+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-02-21T13·54+0000 |
commit | 3d1f568ddb3b8d35c66eb28485226b69d60724b7 (patch) | |
tree | 9af68e1dc7998c30acceb17e8ef48860ac47e387 /fun | |
parent | f2235ba0aed43ad7a161d83b744e26b5acda3c85 (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.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fun/amsterdump/main.go b/fun/amsterdump/main.go index dda9995b7c1b..77f7392f4b7c 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") } |