summaryrefslogtreecommitdiff
path: root/0077-remove-extra-s-in-CreateContainerLogSymlink.patch
blob: 571f47cd1c03d628ac6e7600528d1c5007356098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From cade2ae3b53848bbedb3f89ff45333f3871e878a Mon Sep 17 00:00:00 2001
From: jikai <jikai11@huawei.com>
Date: Thu, 25 Apr 2024 12:46:10 +0000
Subject: [PATCH 77/78] remove extra %s in CreateContainerLogSymlink

Signed-off-by: jikai <jikai11@huawei.com>
---
 src/daemon/common/cri/cri_helpers.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/daemon/common/cri/cri_helpers.cc b/src/daemon/common/cri/cri_helpers.cc
index 5189ac00..d7ec9f36 100644
--- a/src/daemon/common/cri/cri_helpers.cc
+++ b/src/daemon/common/cri/cri_helpers.cc
@@ -552,7 +552,7 @@ void CreateContainerLogSymlink(const std::string &containerID, Errors &error)
     if (symlink(realPath.c_str(), path.c_str()) != 0) {
         SYSERROR("failed to create symbolic link %s to the container log file %s for container %s", path.c_str(), realPath.c_str(),
                  containerID.c_str());
-        error.Errorf("failed to create symbolic link %s to the container log file %s for container %s: %s", path.c_str(),
+        error.Errorf("failed to create symbolic link %s to the container log file %s for container %s", path.c_str(),
                      realPath.c_str(), containerID.c_str());
     }
 }
-- 
2.25.1