style tweaks

This commit is contained in:
Michael Hobbs
2017-10-02 16:50:05 -07:00
parent b099d2c389
commit 8654783131
22 changed files with 101 additions and 134 deletions

View File

@@ -3,7 +3,7 @@ package main
import (
"flag"
network "github.com/dokku/dokku/plugins/network"
"github.com/dokku/dokku/plugins/network"
)
// rebuilds network settings for an app

View File

@@ -1,8 +1,8 @@
package main
import (
common "github.com/dokku/dokku/plugins/common"
network "github.com/dokku/dokku/plugins/network"
"github.com/dokku/dokku/plugins/common"
"github.com/dokku/dokku/plugins/network"
)
// rebuilds network settings for all apps

View File

@@ -3,8 +3,8 @@ package main
import (
"flag"
common "github.com/dokku/dokku/plugins/common"
network "github.com/dokku/dokku/plugins/network"
"github.com/dokku/dokku/plugins/common"
"github.com/dokku/dokku/plugins/network"
)
// set or clear a network property for an app
@@ -18,5 +18,5 @@ func main() {
value = "false"
}
common.CommandPropertySet("network", appName, property, value, network.ValidProperties)
common.CommandPropertySet("network", appName, property, value, network.DefaultProperties)
}