Browse Source

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 years ago
parent
commit
bd378a85ad
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      commands/commands.go

+ 1
- 1
commands/commands.go View File

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


Loading…
Cancel
Save