mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-02 00:10:45 +02:00
core/lint: upgrade golangci-lint, replace interface{} with any (#5099)
* core/lint: upgrade golangci-lint, replace interface{} with any * regen proto
This commit is contained in:
parent
614048ae9c
commit
1a5b8b606f
135 changed files with 341 additions and 340 deletions
|
@ -645,7 +645,7 @@ func getRewriteHeadersMetadata(headers []config.RewriteHeader) *structpb.Value {
|
|||
},
|
||||
}
|
||||
}
|
||||
var obj interface{}
|
||||
var obj any
|
||||
bs, _ := json.Marshal(headers)
|
||||
_ = json.Unmarshal(bs, &obj)
|
||||
v, _ := structpb.NewValue(obj)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue