fix: correct comments on go functions

This commit is contained in:
Jose Diaz-Gonzalez
2019-09-15 17:20:49 -04:00
parent 76911a7dc8
commit 78dba3be3c
4 changed files with 19 additions and 19 deletions

View File

@@ -6,7 +6,7 @@ import (
"github.com/dokku/dokku/plugins/common"
)
// rebuilds network settings for all apps
// CommandRebuildall rebuilds network settings for all apps
func CommandRebuildall() {
apps, err := common.DokkuApps()
if err != nil {
@@ -17,7 +17,7 @@ func CommandRebuildall() {
}
}
// displays a network report for one or more apps
// CommandReport displays a network report for one or more apps
func CommandReport(appName string, infoFlag string) {
if strings.HasPrefix(appName, "--") {
infoFlag = appName
@@ -38,7 +38,7 @@ func CommandReport(appName string, infoFlag string) {
ReportSingleApp(appName, infoFlag)
}
// set or clear a network property for an app
// CommandSet set or clear a network property for an app
func CommandSet(appName string, property string, value string) {
if property == "bind-all-interfaces" && value == "" {
value = "false"