Update api.go

This commit is contained in:
0xFloki 2026-02-12 17:05:54 +01:00 committed by GitHub
parent f2869793df
commit 0be75de089
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -194,9 +194,6 @@ func MetadataFromContext(ctx context.Context) Metadata {
m := Metadata{"NA", "NA", "NA", "", ""} // batman
if info.Transport != "" {
if info.Transport == "http" {
m.Scheme = info.HTTP.Version
}
m.Scheme = info.Transport
}
if info.RemoteAddr != "" {