mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-06-22 06:49:18 -04:00
avoid setting a nil context
This commit is contained in:
@@ -147,7 +147,7 @@ func (p *MultiHostReverseProxy) ServeHTTP(w http.ResponseWriter, r *http.Request
|
||||
Msgf("policy %v is not configured", pol)
|
||||
}
|
||||
|
||||
var ctx context.Context
|
||||
ctx := context.Background()
|
||||
var span *trace.Span
|
||||
|
||||
// Start root span.
|
||||
|
||||
Reference in New Issue
Block a user