Skip to content

Commit

Permalink
Merge pull request #234 from AkihiroSuda/fix-compose
Browse files Browse the repository at this point in the history
Fix compose regressions
  • Loading branch information
AkihiroSuda authored Jun 2, 2021
2 parents f6c5862 + 48b7b93 commit 487f94a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/composer/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ func (c *Composer) logs(ctx context.Context, containers map[string]serviceparser
if lo.Tail == "all" {
args = append(args, "+0")
} else {
args = append(args, lo.Tail)
}
args = append(args, lo.Tail)
}

args = append(args, id)
Expand Down
3 changes: 2 additions & 1 deletion run_mount.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ func copyExistingContents(source, destination string) error {
return err
}
if len(dstList) != 0 {
return errors.Errorf("volume at %q is not initially empty", destination)
// not an error, see https://github.com/containerd/nerdctl/issues/232
logrus.Debugf("volume at %q is not initially empty", destination)
}
return fs.CopyDir(destination, source)
}

0 comments on commit 487f94a

Please sign in to comment.