fix: actually echo the property
This commit is contained in:
1 parent
acde3d60a7
commit
3ca5503b74
1 file changed
+4
-1
@@ -2,6 +2,8 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"flag"
|
"flag"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
|
||||||
common "github.com/dokku/dokku/plugins/common"
|
common "github.com/dokku/dokku/plugins/common"
|
||||||
network "github.com/dokku/dokku/plugins/network"
|
network "github.com/dokku/dokku/plugins/network"
|
||||||
@@ -14,5 +16,6 @@ func main() {
|
|||||||
property := flag.Arg(1)
|
property := flag.Arg(1)
|
||||||
|
|
||||||
defaultValue := network.GetDefaultValue(property)
|
defaultValue := network.GetDefaultValue(property)
|
||||||
common.PropertyGetDefault("network", appName, property, defaultValue)
|
value := common.PropertyGetDefault("network", appName, property, defaultValue)
|
||||||
|
fmt.Fprintln(os.Stdout, value)
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user