mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-24 16:16:17 +00:00
Merge pull request #2330 from alexlarsson/dm-fix-change-detection
Fix typo that made change detection break
This commit is contained in:
+1
-1
@@ -119,7 +119,7 @@ func (info *FileInfo) addChanges(oldInfo *FileInfo, changes *[]Change) {
|
||||
// breaks down is if some code intentionally hides a change by setting
|
||||
// back mtime
|
||||
oldMtime := syscall.NsecToTimeval(oldStat.Mtim.Nano())
|
||||
newMtime := syscall.NsecToTimeval(oldStat.Mtim.Nano())
|
||||
newMtime := syscall.NsecToTimeval(newStat.Mtim.Nano())
|
||||
if oldStat.Mode != newStat.Mode ||
|
||||
oldStat.Uid != newStat.Uid ||
|
||||
oldStat.Gid != newStat.Gid ||
|
||||
|
||||
Reference in New Issue
Block a user