Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-antoniak committed Jun 25, 2024
1 parent b1e60b1 commit f3d31ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions integration-tests/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,5 @@ func sumAllRequestsFromNode(lines []string, prefix string, metric metrics.Metric
valueWrites, _ := findMetricValueWithDefault(lines, writesMetric, 0)
readsMetric := getPrometheusNameWithSuffixAndNodeLabel(prefix, metric, suffix, host, "type", "reads")
valueReads, _ := findMetricValueWithDefault(lines, readsMetric, 0)
otherMetric := getPrometheusNameWithSuffixAndNodeLabel(prefix, metric, suffix, host, "type", "other")
valueOther, _ := findMetricValueWithDefault(lines, otherMetric, 0)
return valueWrites + valueReads + valueOther
return valueWrites + valueReads
}
4 changes: 1 addition & 3 deletions proxy/pkg/zdmproxy/requestinfo.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package zdmproxy

import (
"fmt"
)
import "fmt"

type RequestInfo interface {
GetForwardDecision() forwardDecision
Expand Down

0 comments on commit f3d31ef

Please sign in to comment.