fix: handle lint issues
This commit is contained in:
1 parent
5d8340d305
commit
e68c04b9a6
2 files changed
+2
-1
No files matched your search
@@ -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)
|
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))
|
common.LogVerboseQuiet(fmt.Sprintf("Bumping tag to %d", version))
|
||||||
if err = common.PropertyWrite("registry", appName, "tag-version", strconv.Itoa(version)); err != nil {
|
if err = common.PropertyWrite("registry", appName, "tag-version", strconv.Itoa(version)); err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import (
|
|||||||
"github.com/dokku/dokku/plugins/common"
|
"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 {
|
func CommandLogin(server string, username string, password string, passwordStdin bool) error {
|
||||||
if passwordStdin {
|
if passwordStdin {
|
||||||
stdin, err := ioutil.ReadAll(os.Stdin)
|
stdin, err := ioutil.ReadAll(os.Stdin)
|
||||||
|
|||||||
Reference in new issue
Block a user