Skip to content

Commit

Permalink
cmd: Improves usage of metrics middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas authored and arekkas committed May 29, 2018
1 parent 301f386 commit 726c4be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func TestExecute(t *testing.T) {
expectErr bool
}{
{
args: []string{"--disable-telemetry", "serve"},
args: []string{"serve", "--disable-telemetry"},
wait: func(t *testing.T) bool {
t.Logf("Trying to connect to port %d...", port)
_, err := http.DefaultClient.Get(fmt.Sprintf("http://127.0.0.1:%d/", port))
Expand Down

0 comments on commit 726c4be

Please sign in to comment.