Skip to content

Commit

Permalink
Merge pull request #1071 from vrothberg/debug-metacopy
Browse files Browse the repository at this point in the history
overlay: silence metacopy warning
  • Loading branch information
giuseppe authored Nov 22, 2021
2 parents b65dfb9 + 82b8f06 commit 59ba585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/overlay/overlay.go
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@ func (d *Driver) get(id string, disableShifting bool, options graphdriver.MountO
// options otherwise the kernel refuses to follow the metacopy xattr.
if hasMetacopyOption(strings.Split(d.options.mountOptions, ",")) && !hasMetacopyOption(options.Options) {
if d.usingMetacopy {
logrus.StandardLogger().Logf(logLevel, "Adding metacopy option, configured globally")
logrus.StandardLogger().Logf(logrus.DebugLevel, "Adding metacopy option, configured globally")
optsList = append(optsList, "metacopy=on")
}
}
Expand Down

0 comments on commit 59ba585

Please sign in to comment.