Skip to content

Commit 911ac5e

Browse files
modified the common.go file
1 parent 83187b7 commit 911ac5e

File tree

1 file changed

+1
-2
lines changed
  • metrics-operator/controllers/common/providers/prometheus

1 file changed

+1
-2
lines changed

metrics-operator/controllers/common/providers/prometheus/common.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ type SecretData struct {
2525
Password config.Secret `json:"password"`
2626
}
2727

28-
// IRoundTripper interface defines the method to get the RoundTripper
28+
//go:generate moq -pkg fake -skip-ensure -out ./fake/roundtripper_mock.go . IRoundTripper
2929
type IRoundTripper interface {
3030
GetRoundTripper(context.Context, metricsapi.KeptnMetricsProvider, client.Client) (http.RoundTripper, error)
3131
}
3232

33-
// RoundTripperRetriever implements the IRoundTripper interface
3433
type RoundTripperRetriever struct {
3534
}
3635

0 commit comments

Comments
 (0)