capability.py 的 _get_vendor_commit() 和 health.py 之前有同样的 bug: f.read().strip() 返回整个 VENDOR_COMMIT 文件内容, 导致 scan_capabilities() 上报给 bridge 的 vendor 字段是多行文本。 对齐为逐行 commit: 前缀解析。
capability.py 的 _get_vendor_commit() 和 health.py 之前有同样的 bug: f.read().strip() 返回整个 VENDOR_COMMIT 文件内容, 导致 scan_capabilities() 上报给 bridge 的 vendor 字段是多行文本。 对齐为逐行 commit: 前缀解析。