fix commut

This commit is contained in:
Tejal Desai
2020-02-06 15:37:47 -08:00
parent 674f5bda5d
commit 8b69a13641
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -84,10 +84,10 @@ func (t *Tar) AddFileToTar(p string) error {
hdr.Name = p
}
// rootfs may not have been extracted when using cache, preventing uname/gname from resolving
// this makes this layer unnecessarily differ from a cached layer which does contain this information
hdr.Uname = ""
hdr.Gname = ""
// rootfs may not have been extracted when using cache, preventing uname/gname from resolving
// this makes this layer unnecessarily differ from a cached layer which does contain this information
hdr.Uname = ""
hdr.Gname = ""
hardlink, linkDst := t.checkHardlink(p, i)
if hardlink {