1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-11 09:18:07 +03:00

network/varlink: downgrade log level about failure in getting netns ID

This commit is contained in:
Yu Watanabe 2024-02-26 11:30:34 +09:00
parent 46877eb149
commit a569c2c5fd

View File

@ -47,7 +47,7 @@ static int vl_method_get_namespace_id(Varlink *link, JsonVariant *parameters, Va
r = netns_get_nsid(/* netnsfd= */ -EBADF, &nsid);
if (r < 0)
log_warning_errno(r, "Failed to query network nsid, ignoring: %m");
log_full_errno(r == -ENODATA ? LOG_DEBUG : LOG_WARNING, r, "Failed to query network nsid, ignoring: %m");
return varlink_replyb(link,
JSON_BUILD_OBJECT(