fix: handle lint issues

This commit is contained in:
Jose Diaz-Gonzalez
2021-03-19 16:31:07 -04:00
parent 5d8340d305
commit e68c04b9a6
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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)