mirror of
https://github.com/therootcompany/golib.git
synced 2026-03-02 23:57:59 +00:00
fix(cmd/auth-proxy): show all working credentials, not just the first one
This commit is contained in:
parent
cbacf9ffc9
commit
7b40097396
@ -293,8 +293,8 @@ func run(cli *MainConfig) {
|
||||
}
|
||||
if usableRoles == 0 {
|
||||
fmt.Fprintf(os.Stderr, "Current credentials, tokens, and permissions:\n")
|
||||
fmt.Fprintf(os.Stderr, " %s\t%s\t%s\n", u.Purpose, u.ID(), strings.Join(u.Roles, " "))
|
||||
}
|
||||
fmt.Fprintf(os.Stderr, " %s\t%s\t%s\n", u.Purpose, u.ID(), strings.Join(u.Roles, " "))
|
||||
usableRoles += 1
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user