Skip to content

Move tls package to network/tls, keep aliases for backward compatibility #2988

Move tls package to network/tls, keep aliases for backward compatibility

Move tls package to network/tls, keep aliases for backward compatibility #2988

Triggered via pull request March 9, 2026 11:57
Status Failure
Total duration 4m 9s
Artifacts

knative-style.yaml

on: pull_request
style  /  changes
4s
style / changes
style  /  ...  /  Auto-format and Check
27s
style / Golang / Auto-format and Check
style  /  ...  /  Lint
4m 0s
style / Golang / Lint
style  /  ...  /  Do Not Submit
7s
style / Golang / Do Not Submit
style  /  ...  /  shell
0s
style / suggester / shell
style  /  ...  /  yaml
0s
style / suggester / yaml
style  /  ...  /  github_actions
style / suggester / github_actions
Matrix: style / Golang / Boilerplate Check
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 4 warnings
style / Golang / Auto-format and Check
Process completed with exit code 1.
style / Golang / Auto-format and Check: webhook/webhook.go#L0
Please run goimports. diff --git a/webhook/webhook.go b/webhook/webhook.go index 19e21d9..4af3222 100644 --- a/webhook/webhook.go +++ b/webhook/webhook.go @@ -33,8 +33,8 @@ import ( kubeinformerfactory "knative.dev/pkg/injection/clients/namespacedkube/informers/factory" "knative.dev/pkg/network" "knative.dev/pkg/network/handlers" - "knative.dev/pkg/observability/semconv" knativetls "knative.dev/pkg/network/tls" + "knative.dev/pkg/observability/semconv" "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" "go.opentelemetry.io/otel/attribute"
style / Golang / Lint
issues found
style / Golang / Lint: webhook/webhook.go#L37
File is not properly formatted (gofmt)
style / Golang / Boilerplate Check (sh)
Restore cache failed: Dependencies file is not found in /home/runner/work/pkg/pkg. Supported file pattern: go.mod
style / Golang / Boilerplate Check (go)
Restore cache failed: Dependencies file is not found in /home/runner/work/pkg/pkg. Supported file pattern: go.mod
style / Golang / Auto-format and Check
Restore cache failed: Dependencies file is not found in /home/runner/work/pkg/pkg. Supported file pattern: go.mod
style / Golang / Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/pkg/pkg. Supported file pattern: go.mod