udp/config: fall back to default_owner when os_info has no owner; log debug

- When os_info arrives with no owner field, apply default_owner from server config
- Stop applying default_owner unconditionally in get_host_access (now deferred to os_info handling)
- os_info plugin logs debug message when injecting owner from client config

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-08 08:49:42 -04:00
parent 88a3c09b51
commit b3aa7b585f
3 changed files with 5 additions and 5 deletions
+1
View File
@@ -63,6 +63,7 @@ class OSInfoPlugin(InfoPlugin):
"hbc_type": "full",
}
if self.config.get("owner"):
self.logger.debug(f"Adding owner from config: {self.config['owner']}")
data["owner"] = self.config["owner"]
# Add Linux-specific distribution info