We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ae4550 commit 6b22b5cCopy full SHA for 6b22b5c
container/containerd/handler.go
@@ -18,6 +18,7 @@ package containerd
18
import (
19
"encoding/json"
20
"fmt"
21
+ "path"
22
"strings"
23
"time"
24
@@ -192,7 +193,7 @@ func newContainerdContainerHandler(
192
193
}
194
195
- deviceInfo, err := fsInfo.GetDirFsDevice(snapshotDir)
196
+ deviceInfo, err := fsInfo.GetDirFsDevice(path.Join(rootfs, snapshotDir))
197
if err != nil {
198
return nil, err
199
@@ -227,7 +228,7 @@ func newContainerdContainerHandler(
227
228
client: client,
229
containerID: id,
230
// Path of logs, e.g. /var/log/pods/XXX
- logPath: status.LogPath,
231
+ logPath: path.Join(rootfs, status.LogPath),
232
fsInfo: fsInfo,
233
})
234
0 commit comments