Ver a proveniência

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 há 4 anos
ascendente
cometimento
bd378a85ad
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      commands/commands.go

+ 1
- 1
commands/commands.go Ver ficheiro

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


Carregando…
Cancelar
Guardar