refactor: remove unused IS_HEROKUISH_CONTAINER argument

This commit is contained in:
Jose Diaz-Gonzalez authored and Michael Hobbs committed 2017-10-02 15:05:13 -07:00
1 parent 20dca9fd46
commit 7fe2f8593c
4 files changed
+6 -8

No files matched your search

@@ -5,7 +5,6 @@ import (
"fmt"
"os"
common "github.com/dokku/dokku/plugins/common"
network "github.com/dokku/dokku/plugins/network"
)
@@ -14,9 +13,8 @@ func main() {
flag.Parse()
appName := flag.Arg(0)
procType := flag.Arg(1)
isHerokuishContainer := common.ToBool(flag.Arg(2))
containerID := flag.Arg(3)
containerID := flag.Arg(2)
ipAddress := network.GetContainerIpaddress(appName, procType, isHerokuishContainer, containerID)
ipAddress := network.GetContainerIpaddress(appName, procType, containerID)
fmt.Fprintln(os.Stdout, ipAddress)
}