fix(systemd-units.plugin): correct resp type on info (#21621)
Ilya Mashchenko committed
Jan 23, 2026 at 10:55 UTC
b7e1095c4dd5f01fa87448b77110049e88bb0c2c
1 file changed
+1
-1
src/collectors/systemd-units.plugin/plugin_systemd_units.c
+1
-1
@@ -1186,7 +1186,7 @@ static void netdata_systemd_units_function_info(const char *transaction)
1186
buffer_json_finalize(wb);
1187
netdata_mutex_lock(&stdout_mutex);
1188
wb->response_code = HTTP_RESP_OK;
1189
- wb->content_type = CT_TEXT_PLAIN;
1189
+ wb->content_type = CT_APPLICATION_JSON;
1190
wb->expires = now_realtime_sec() + 3600;
1191
pluginsd_function_result_to_stdout(transaction, wb);
1192
netdata_mutex_unlock(&stdout_mutex);