Skip to content

Commit

Permalink
[workspacekit] Remove debug log to avoid confusing message
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf authored and roboquat committed Aug 11, 2021
1 parent e7f9a1f commit 877ec73
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions components/workspacekit/cmd/rings.go
Original file line number Diff line number Diff line change
Expand Up @@ -524,11 +524,9 @@ func findBindMountCandidates(procMounts io.Reader, readlink func(path string) (d
// test remaining candidates if they're a Kubernetes configMap or secret
ln, err := readlink(filepath.Join(path, "..data"))
if err != nil {
log.WithField("path", path).Debug("not bind-mounting because this doesn't look like a configMap")
continue
}
if !strings.HasPrefix(ln, "..") {
log.WithField("path", path).WithField("ln", ln).Debug("not bind-mounting because this doesn't look like a configMap")
continue
}

Expand Down

0 comments on commit 877ec73

Please sign in to comment.