From: Lennart Poettering Date: Mon, 15 Jun 2026 20:43:23 +0000 (+0200) Subject: report: don't consider it an error if a backend replies io.systemd.Metrics.NoSuchMetric X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d086eb6d2e3fce7e03cb65ec3593700db5367ffc;p=thirdparty%2Fsystemd.git report: don't consider it an error if a backend replies io.systemd.Metrics.NoSuchMetric If an error returns this it (currently) has no metric to report. Which is entirely fine, treat it as such. --- diff --git a/src/report/report.c b/src/report/report.c index a4d7a9ea56d..9c951f98323 100644 --- a/src/report/report.c +++ b/src/report/report.c @@ -232,6 +232,8 @@ static int on_query_reply( log_warning("Varlink connection to '%s' disconnected prematurely, ignoring.", li->name); else if (streq(error_id, SD_VARLINK_ERROR_TIMEOUT)) log_warning("Varlink connection to '%s' timed out, ignoring.", li->name); + else if (streq(error_id, "io.systemd.Metrics.NoSuchMetric")) + log_debug("Varlink connection to '%s' reported no more metrics, ignoring.", li->name); else log_warning("Varlink error from '%s', ignoring: %s", li->name, error_id);