Skip to content

Commit

Permalink
formatting bugs
Browse files Browse the repository at this point in the history
Signed-off-by: Hima Varsha <varshahima1994@gmail.com>
  • Loading branch information
HimaVarsha94 committed Jun 23, 2020
1 parent 5f51a29 commit 97fe9c2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions api/prometheus/v1/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -962,18 +962,18 @@ func TestAPIs(t *testing.T) {
},

{
do: doTSDB(),
reqMethod: "GET",
reqPath: "/api/v1/status/tsdb",
inErr: fmt.Errorf("some error"),
do: doTSDB(),
reqMethod: "GET",
reqPath: "/api/v1/status/tsdb",
inErr: fmt.Errorf("some error"),
err: fmt.Errorf("some error"),
},

{
do: doTSDB(),
reqMethod: "GET",
reqPath: "/api/v1/status/tsdb",
inRes:map[string]interface{}{
do: doTSDB(),
reqMethod: "GET",
reqPath: "/api/v1/status/tsdb",
inRes: map[string]interface{}{
"seriesCountByMetricName": []interface{}{
map[string]interface{}{
"name": "kubelet_http_requests_duration_seconds_bucket",
Expand Down

0 comments on commit 97fe9c2

Please sign in to comment.