summaryrefslogtreecommitdiffstats
path: root/src/web/api/functions/function-progress.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-25 17:33:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-25 17:34:10 +0000
commit83ba6762cc43d9db581b979bb5e3445669e46cc2 (patch)
tree2e69833b43f791ed253a7a20318b767ebe56cdb8 /src/web/api/functions/function-progress.c
parentReleasing debian version 1.47.5-1. (diff)
downloadnetdata-83ba6762cc43d9db581b979bb5e3445669e46cc2.tar.xz
netdata-83ba6762cc43d9db581b979bb5e3445669e46cc2.zip
Merging upstream version 2.0.3+dfsg (Closes: #923993, #1042533, #1045145).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/web/api/functions/function-progress.c')
-rw-r--r--src/web/api/functions/function-progress.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/web/api/functions/function-progress.c b/src/web/api/functions/function-progress.c
new file mode 100644
index 000000000..052a9020a
--- /dev/null
+++ b/src/web/api/functions/function-progress.c
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#include "function-progress.h"
+
+int function_progress(BUFFER *wb, const char *function __maybe_unused, BUFFER *payload __maybe_unused, const char *source __maybe_unused) {
+ return progress_function_result(wb, rrdhost_hostname(localhost));
+}
+