File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 15
15
* [ BUGFIX] AlertManager: remove stale template files. #4495
16
16
* [ BUGFIX] Distributor: fix bug in query-exemplar where some results would get dropped. #4582
17
17
* [ BUGFIX] Update Thanos dependency: compactor tracing support, azure blocks storage memory fix. #4585
18
+ * [ BUGFIX] Set appropriate ` Content-Type ` header for /services endpoint, which previously hard-coded ` text/plain ` . #4596
18
19
19
20
## 1.11.0 2021-11-25
20
21
Original file line number Diff line number Diff line change @@ -50,9 +50,6 @@ func init() {
50
50
}
51
51
52
52
func (t * Cortex ) servicesHandler (w http.ResponseWriter , r * http.Request ) {
53
- w .WriteHeader (200 )
54
- w .Header ().Set ("Content-Type" , "text/plain" )
55
-
56
53
svcs := make ([]renderService , 0 )
57
54
for mod , s := range t .ServiceMap {
58
55
svcs = append (svcs , renderService {
You can’t perform that action at this time.
0 commit comments