fix: use CamelCase for constants

This commit is contained in:
Jose Diaz-Gonzalez
2020-11-18 13:02:02 -05:00
parent 72ed9dbcce
commit 037b99865d
2 changed files with 6 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ import (
"github.com/dokku/dokku/plugins/common"
)
const RUN_IN_SERIAL = -1
const RunInSerial = -1
type ParallelCommand func(string) error
@@ -20,7 +20,7 @@ var (
)
func RunCommandAgainstAllApps(command ParallelCommand, commandName string, runInSerial bool, parallelCount int) error {
if runInSerial && parallelCount != RUN_IN_SERIAL {
if runInSerial && parallelCount != RunInSerial {
common.LogWarn("Ignoring --parallel value and running in serial mode")
}