Skip to content

Commit 487f94a

Browse files
authored
Merge pull request #234 from AkihiroSuda/fix-compose
Fix compose regressions
2 parents f6c5862 + 48b7b93 commit 487f94a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pkg/composer/logs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ func (c *Composer) logs(ctx context.Context, containers map[string]serviceparser
9090
if lo.Tail == "all" {
9191
args = append(args, "+0")
9292
} else {
93+
args = append(args, lo.Tail)
9394
}
94-
args = append(args, lo.Tail)
9595
}
9696

9797
args = append(args, id)

run_mount.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ func copyExistingContents(source, destination string) error {
184184
return err
185185
}
186186
if len(dstList) != 0 {
187-
return errors.Errorf("volume at %q is not initially empty", destination)
187+
// not an error, see https://github.com/containerd/nerdctl/issues/232
188+
logrus.Debugf("volume at %q is not initially empty", destination)
188189
}
189190
return fs.CopyDir(destination, source)
190191
}

0 commit comments

Comments
 (0)