Skip to content

Commit

Permalink
Merge pull request #8 from ductnn/fix-typo
Browse files Browse the repository at this point in the history
typo: fix some typos
  • Loading branch information
roshanmaskey committed Dec 28, 2022
2 parents b0caf9c + da0df90 commit 8ff3578
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion explorers/containerd/containerd.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ func (e *explorer) GetContainerTask(ctx context.Context, ctr explorers.Container
// If a container is deleted then cgroup may not exist for the container
if !explorers.PathExists(cgroupspath, false) {
log.WithFields(log.Fields{
"contianerid": ctr.ID,
"containerid": ctr.ID,
"cgroupspath": cgroupspath,
}).Debug("container cgroup path does not exit")

Expand Down
24 changes: 12 additions & 12 deletions explorers/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ type ImageRepository struct {
}

type explorer struct {
root string // docker root directory
contaierdroot string
manifest string
snapshot string
mdb *bolt.DB // manifest database file
sc *explorers.SupportContainer // support container object
root string // docker root directory
containerdroot string
manifest string
snapshot string
mdb *bolt.DB // manifest database file
sc *explorers.SupportContainer // support container object
}

// NewExplorer returns a ContainerExplorer interface to explorer docker managed
Expand All @@ -87,12 +87,12 @@ func NewExplorer(root string, containerdroot string, manifest string, snapshot s
}).Debug("new docker explorer")

return &explorer{
root: root,
contaierdroot: containerdroot,
manifest: manifest,
snapshot: snapshot,
mdb: db,
sc: sc,
root: root,
containerdroot: containerdroot,
manifest: manifest,
snapshot: snapshot,
mdb: db,
sc: sc,
}, nil
}

Expand Down

0 comments on commit 8ff3578

Please sign in to comment.