From: Lennart Poettering Date: Sun, 14 Jun 2026 19:37:31 +0000 (+0200) Subject: report: place Upload() on io.systemd.Report.Uploader rather than io.systemd.Report... X-Git-Tag: v261-rc4~16^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b144bdaf0c98e05713f2bd33ee485ff055049822;p=thirdparty%2Fsystemd.git report: place Upload() on io.systemd.Report.Uploader rather than io.systemd.Report interface We really want to use io.systemd.Report for the interface provided by systemd-report itself, not by its backend. hence, rename the interface that uploading plugins shall implement to io.systemd.Report.Uploader. Note that we ideally should have a varlink interface definition for that interface. if we had, we'd have noticed that earlier. --- diff --git a/man/systemd-report.xml b/man/systemd-report.xml index 560d9406240..efbff555eea 100644 --- a/man/systemd-report.xml +++ b/man/systemd-report.xml @@ -89,7 +89,7 @@ https:// URL is specified with , an HTTP upload will be performed to the specified location. Otherwise, any sockets under /run/systemd/metrics-upload/ will be used to call - io.systemd.Report.Upload(). + io.systemd.Report.Uploader.Upload(). Match expressions supported by metrics are supported here too. diff --git a/src/report/report-upload.c b/src/report/report-upload.c index aea12e62a53..02f15cba610 100644 --- a/src/report/report-upload.c +++ b/src/report/report-upload.c @@ -249,7 +249,7 @@ static int upload_collected(Context *context, sd_json_variant *report) { ssize_t jobs = varlink_execute_directory( REPORT_UPLOAD_DIR, - "io.systemd.Report.Upload", + "io.systemd.Report.Uploader.Upload", params, /* more= */ false, arg_network_timeout_usec,