aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authoramine <hilalyamine@gmail.com>2019-10-24 20:39:13 +0200
committeramine <hilalyamine@gmail.com>2019-11-09 13:26:52 +0100
commit4dc7b8b06ed5d48eca077b81a0b8c90777b8fe82 (patch)
tree7689235363d4aa9722ca4ca8cc37f66f6250c3d9 /commands
parentbaefa687b582632cd9cc21b945bc074c833f5389 (diff)
downloadgit-bug-4dc7b8b06ed5d48eca077b81a0b8c90777b8fe82.tar.gz
tokens: use entity.Id as id type
Diffstat (limited to 'commands')
-rw-r--r--commands/bridge_token.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/bridge_token.go b/commands/bridge_token.go
index f33ee3e3..cdae0664 100644
--- a/commands/bridge_token.go
+++ b/commands/bridge_token.go
@@ -49,7 +49,7 @@ func runTokenBridge(cmd *cobra.Command, args []string) error {
}
func printToken(token *core.Token) {
- idFmt := text.LeftPadMaxLine(token.HumanId(), 6, 0)
+ idFmt := text.LeftPadMaxLine(token.HumanId(), 7, 0)
valueFmt := text.LeftPadMaxLine(token.Value, 8, 0)
targetFmt := text.LeftPadMaxLine(token.Target, 8, 0)
scopesFmt := text.LeftPadMaxLine(strings.Join(token.Scopes, ","), 20, 0)