Skip to content

Commit

Permalink
cli: rename mode metric to update_mode for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
Maia committed Jul 8, 2020
1 parent 62c5388 commit 890db9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/cli/up.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ func (c *upCmd) run(ctx context.Context, args []string) error {
}

cmdUpTags := engineanalytics.CmdTags(map[string]string{
"mode": string(updateModeFlag),
"term_mode": strconv.Itoa(int(termMode)),
"update_mode": updateModeFlag,
"term_mode": strconv.Itoa(int(termMode)),
})
a.Incr("cmd.up", cmdUpTags.AsMap())
defer a.Flush(time.Second)
Expand Down

0 comments on commit 890db9b

Please sign in to comment.