Skip to content

Commit

Permalink
chore: Reformat comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaqx0r committed Jan 1, 2023
1 parent 521a460 commit 8ad500d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cmd/mdot/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Command mdot turns an mtail program AST into a graphviz graph on standard output
To use, run it like (assuming your shell is in the same directory as this file)
go run github.com/google/mtail/cmd/mdot --prog ../../examples/dhcpd.mtail | xdot -
go run github.com/google/mtail/cmd/mdot --prog ../../examples/dhcpd.mtail | xdot -
or
go run github.com/google/mtail/cmd/mdot --prog ../../examples/dhcpd.mtail --http_port 8080
go run github.com/google/mtail/cmd/mdot --prog ../../examples/dhcpd.mtail --http_port 8080
to view the dot output visit http://localhost:8080
Expand Down
8 changes: 3 additions & 5 deletions internal/metrics/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,9 @@ func TestDuplicateMetric(t *testing.T) {
}
}

/* A program can add a metric with the same name and
of different type.
Prometheus behavior in this case is undefined.
@see https://github.com/google/mtail/issues/130
*/
// A program can add a metric with the same name and of different type.
// Prometheus behavior in this case is undefined. @see
// https://github.com/google/mtail/issues/130
func TestAddMetricDifferentType(t *testing.T) {
expected := 2
s := NewStore()
Expand Down

0 comments on commit 8ad500d

Please sign in to comment.