Skip to content

Commit

Permalink
Fix print event version in CLI (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng authored Jun 6, 2018
1 parent 5f40ae1 commit 34c6e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cli/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ func showHistoryHelper(c *cli.Context, wid, rid string) {
}

if printVersion {
columns = append(columns, fmt.Sprintf("(Version: %v)", e.Version))
columns = append(columns, fmt.Sprintf("(Version: %v)", *e.Version))
}

columns = append(columns, ColorEvent(e), HistoryEventToString(e))
Expand Down

0 comments on commit 34c6e50

Please sign in to comment.