fix: handle lint issues
This commit is contained in:
@@ -22,7 +22,7 @@ func incrementTagVersion(appName string) (string, error) {
|
||||
return "", fmt.Errorf("Unable to convert existing tag version (%s) to integer: %v", tag, err)
|
||||
}
|
||||
|
||||
version += 1
|
||||
version++
|
||||
common.LogVerboseQuiet(fmt.Sprintf("Bumping tag to %d", version))
|
||||
if err = common.PropertyWrite("registry", appName, "tag-version", strconv.Itoa(version)); err != nil {
|
||||
return "", err
|
||||
|
||||
@@ -10,6 +10,7 @@ import (
|
||||
"github.com/dokku/dokku/plugins/common"
|
||||
)
|
||||
|
||||
// CommandLogin logs a user into the specified server
|
||||
func CommandLogin(server string, username string, password string, passwordStdin bool) error {
|
||||
if passwordStdin {
|
||||
stdin, err := ioutil.ReadAll(os.Stdin)
|
||||
|
||||
Reference in New Issue
Block a user