Skip to content

Commit

Permalink
Feat: fetch logs file from UpperDir when enabled rootfs collection (#414
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ethfoo committed Jan 6, 2023
1 parent 3bded25 commit 9b5bd10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/discovery/kubernetes/runtime/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (d *Docker) GetRootfsPath(ctx context.Context, containerId string, containe
if containerJson.GraphDriver.Name != "overlay2" {
return nil, errors.Errorf("docker graphDriver name is not overlay2")
}
rootfsPrePath := containerJson.GraphDriver.Data["MergedDir"]
rootfsPrePath := containerJson.GraphDriver.Data["UpperDir"]

var rootfsPaths []string
for _, p := range containerPaths {
Expand Down

0 comments on commit 9b5bd10

Please sign in to comment.