diff --git a/pkg/staticpod/staticpod.go b/pkg/staticpod/staticpod.go index 366f7d9ad1..e78e91f4ca 100644 --- a/pkg/staticpod/staticpod.go +++ b/pkg/staticpod/staticpod.go @@ -103,14 +103,7 @@ func Run(dir string, args Args) error { return err } - // Check to make sure we aren't double mounting directories and the files in those directories - for _, dir := range args.Dirs { - for _, file := range files { - if strings.HasPrefix(file, dir) { - logrus.Warnf("file %s is being double mounted with directory %s", file, dir) - } - } - } + // TODO Check to make sure we aren't double mounting directories and the files in those directories args.Files = append(args.Files, files...) pod, err := pod(args)