Fetch the repository succeeded.
From 56a42267650b11f5eb691cb852f0f7a827ed715a Mon Sep 17 00:00:00 2001
From: yangjiaqi <yangjiaqi16@huawei.com>
Date: Thu, 21 Sep 2023 11:07:21 +0800
Subject: [PATCH] fix log of RemoveUdevRule
---
hooks/syscontainer-hooks/poststop.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hooks/syscontainer-hooks/poststop.go b/hooks/syscontainer-hooks/poststop.go
index 8f03bd7..f422c4e 100644
--- a/hooks/syscontainer-hooks/poststop.go
+++ b/hooks/syscontainer-hooks/poststop.go
@@ -50,7 +50,7 @@ func RemoveUdevRule(state *configs.HookState, hookConfig *hconfig.ContainerHookC
resolvDev := calcPathForDevice(state.Root, dev)
device, err := libdevice.ParseDevice(resolvDev)
if err != nil {
- logrus.Errorf("[device-hook] Add device (%s), parse device failed: %v", resolvDev, err)
+ logrus.Errorf("[device-hook] RemoveUdevRule (%s), parse device failed: %v", resolvDev, err)
continue
}
--
2.30.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。