Skip to content

Commit 471d4a9

Browse files
committed
Fix nil headers in Druid DS
1 parent cc1e385 commit 471d4a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkg/tsdb/druid/druid.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,10 @@ func (ds *Service) CallResource(ctx context.Context, req *backend.CallResourceRe
183183
default:
184184
body = "Path not supported"
185185
}
186-
resp := &backend.CallResourceResponse{Status: code}
186+
resp := &backend.CallResourceResponse{
187+
Headers: map[string][]string{},
188+
Status: code,
189+
}
187190
resp.Body, err = json.Marshal(body)
188191
sender.Send(resp)
189192
return nil

0 commit comments

Comments
 (0)