Переглянути джерело

commands: Remove redundant string() cast on pass

When logging in we had a cast that was made redundant, since
`pass` is now a string.
pull/43/head
Christopher Davis 4 роки тому
джерело
коміт
bd378a85ad
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      commands/commands.go

+ 1
- 1
commands/commands.go Переглянути файл

@@ -429,7 +429,7 @@ func CmdAuth(c *cli.Context) error {
} else {
log.Info(c, "Logging in...")
}
err = api.DoLogIn(c, username, string(pass))
err = api.DoLogIn(c, username, pass)
if err != nil {
return cli.NewExitError(fmt.Sprintf("error logging in: %v", err), 1)
}


Завантаження…
Відмінити
Зберегти