fix: use correct flag parameter for app name

This commit is contained in:
Jose Diaz-Gonzalez
2017-05-01 21:09:36 -06:00
committed by Michael Hobbs
parent 31333452c8
commit 6e76831b5d

View File

@@ -9,7 +9,7 @@ import (
// rebuilds network settings for an app
func main() {
flag.Parse()
appName := flag.Arg(1)
appName := flag.Arg(0)
network.BuildConfig(appName)
}