Skip to content

Commit

Permalink
cli: rename mode metric to update_mode for readability (#3565)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maia McCormick committed Jul 8, 2020
1 parent 022b45c commit a4006eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/cli/up.go
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, // before 7/8/20 this was just called "mode"
"term_mode": strconv.Itoa(int(termMode)),
})
a.Incr("cmd.up", cmdUpTags.AsMap())
defer a.Flush(time.Second)
Expand Down

0 comments on commit a4006eb

Please sign in to comment.