Skip to content

Commit

Permalink
Merge branch 'opent' of github.com:JaydipGabani/gatekeeper into opent
Browse files Browse the repository at this point in the history
  • Loading branch information
JaydipGabani committed Oct 23, 2023
2 parents 5b37287 + 046da32 commit ecfbaac
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,6 @@ go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.45.0 h1:x8Z78aZx8cOF0+Kkazoc7lwUNMGy0LrzEMxTm4BbTxg=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.45.0/go.mod h1:62CPTSry9QZtOaSsE3tOzhx6LzDhHnXJ6xHeMNNiM6Q=
go.opentelemetry.io/contrib/instrumentation/runtime v0.45.0 h1:2JydY5UiDpqvj2p7sO9bgHuhTy4hgTZ0ymehdq/Ob0Q=
go.opentelemetry.io/contrib/instrumentation/runtime v0.45.0/go.mod h1:ch3a5QxOqVWxas4CzjCFFOOQe+7HgAXC/N1oVxS9DK4=
go.opentelemetry.io/otel v1.19.0 h1:MuS/TNf4/j4IXsZuJegVzI1cwut7Qc00344rgH7p8bs=
go.opentelemetry.io/otel v1.19.0/go.mod h1:i0QyjOq3UPoTzff0PJB2N66fb4S0+rSbSB15/oyH9fY=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.42.0 h1:ZtfnDL+tUrs1F0Pzfwbg2d59Gru9NCH3bgSHBM6LDwU=
Expand Down
1 change: 1 addition & 0 deletions pkg/audit/stats_reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func init() {
if err != nil {
panic(err)
}
}

view.Register(sdkmetric.NewView(

Check failure on line 71 in pkg/audit/stats_reporter.go

View workflow job for this annotation

GitHub Actions / Lint

syntax error: non-declaration statement outside function body) (typecheck)

Check failure on line 71 in pkg/audit/stats_reporter.go

View workflow job for this annotation

GitHub Actions / Lint

syntax error: non-declaration statement outside function body (typecheck)

Check failure on line 71 in pkg/audit/stats_reporter.go

View workflow job for this annotation

GitHub Actions / Lint

expected declaration, found view (typecheck)
sdkmetric.Instrument{Name: auditDurationMetricName},
Expand Down
1 change: 1 addition & 0 deletions pkg/controller/constrainttemplate/stats_reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ func init() {
if err != nil {
panic(err)
}
}

view.Register(sdkmetric.NewView(

Check failure on line 61 in pkg/controller/constrainttemplate/stats_reporter.go

View workflow job for this annotation

GitHub Actions / Lint

syntax error: non-declaration statement outside function body) (typecheck)

Check failure on line 61 in pkg/controller/constrainttemplate/stats_reporter.go

View workflow job for this annotation

GitHub Actions / Lint

syntax error: non-declaration statement outside function body (typecheck)

Check failure on line 61 in pkg/controller/constrainttemplate/stats_reporter.go

View workflow job for this annotation

GitHub Actions / Lint

expected declaration, found view (typecheck)

Check failure on line 61 in pkg/controller/constrainttemplate/stats_reporter.go

View workflow job for this annotation

GitHub Actions / Unit test

syntax error: non-declaration statement outside function body

Check failure on line 61 in pkg/controller/constrainttemplate/stats_reporter.go

View workflow job for this annotation

GitHub Actions / Unit test

syntax error: non-declaration statement outside function body

Check failure on line 61 in pkg/controller/constrainttemplate/stats_reporter.go

View workflow job for this annotation

GitHub Actions / Unit test

syntax error: non-declaration statement outside function body
sdkmetric.Instrument{Name: ingestDuration},
Expand Down
2 changes: 0 additions & 2 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -586,8 +586,6 @@ go.opencensus.io/trace/tracestate
## explicit; go 1.19
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil
# go.opentelemetry.io/contrib/instrumentation/runtime v0.45.0
## explicit; go 1.19
# go.opentelemetry.io/otel v1.19.0
## explicit; go 1.20
go.opentelemetry.io/otel
Expand Down

0 comments on commit ecfbaac

Please sign in to comment.