Eventing TLS: Add scheme label to metrics #5683
Annotations
5 errors and 1 warning
Verify goimports:
pkg/adapter/v2/cloudevents.go#L1
Please run goimports.
diff --git a/pkg/adapter/v2/cloudevents.go b/pkg/adapter/v2/cloudevents.go
index 3123aad..c285430 100644
--- a/pkg/adapter/v2/cloudevents.go
+++ b/pkg/adapter/v2/cloudevents.go
@@ -240,7 +240,7 @@ type client struct {
reporter source.StatsReporter
crStatusEventClient *crstatusevent.CRStatusEventClient
closeIdler closeIdler
- sinkURI string
+ sinkURI string
oidcTokenProvider *auth.OIDCTokenProvider
audience *string
oidcServiceAccountName *types.NamespacedName
|
Verify goimports:
pkg/broker/filter/stats_reporter_test.go#L1
Please run goimports.
diff --git a/pkg/broker/filter/stats_reporter_test.go b/pkg/broker/filter/stats_reporter_test.go
index 2a40c6c..da1635d 100644
--- a/pkg/broker/filter/stats_reporter_test.go
+++ b/pkg/broker/filter/stats_reporter_test.go
@@ -96,10 +96,10 @@ func TestReporterEmptySourceAndTypeFilter(t *testing.T) {
setup()
args := &ReportArgs{
- ns: "testns",
- trigger: "testtrigger",
- broker: "testbroker",
- filterType: "",
+ ns: "testns",
+ trigger: "testtrigger",
+ broker: "testbroker",
+ filterType: "",
requestScheme: "http",
}
|
Verify goimports:
pkg/broker/ingress/stats_reporter_test.go#L1
Please run goimports.
diff --git a/pkg/broker/ingress/stats_reporter_test.go b/pkg/broker/ingress/stats_reporter_test.go
index 999a27a..b948ed3 100644
--- a/pkg/broker/ingress/stats_reporter_test.go
+++ b/pkg/broker/ingress/stats_reporter_test.go
@@ -32,9 +32,9 @@ func TestStatsReporter(t *testing.T) {
setup()
args := &ReportArgs{
- ns: "testns",
- broker: "testbroker",
- eventType: "testeventtype",
+ ns: "testns",
+ broker: "testbroker",
+ eventType: "testeventtype",
eventScheme: "http",
}
|
Verify goimports:
pkg/metrics/source/stats_reporter_test.go#L1
Please run goimports.
diff --git a/pkg/metrics/source/stats_reporter_test.go b/pkg/metrics/source/stats_reporter_test.go
index 6574182..d039fff 100644
--- a/pkg/metrics/source/stats_reporter_test.go
+++ b/pkg/metrics/source/stats_reporter_test.go
@@ -34,7 +34,7 @@ func TestStatsReporter(t *testing.T) {
EventSource: "unit-test",
Name: "testsource",
ResourceGroup: "testresourcegroup",
- EventScheme: "http",
+ EventScheme: "http",
}
r, err := NewStatsReporter()
@@ -88,7 +88,7 @@ func TestBadValues(t *testing.T) {
}
args := &ReportArgs{
- Namespace: "😀",
+ Namespace: "😀",
EventScheme: "http",
}
|
Verify goimports
Process completed with exit code 1.
|
Set up Go
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing/eventing. Supported file pattern: go.sum
|
The logs for this run have expired and are no longer available.
Loading