Revendor github.com/Microsoft/hcsshim to v0.8.3
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
This commit is contained in:
2
vendor/github.com/Microsoft/hcsshim/ext4/internal/compactext4/compact.go
generated
vendored
2
vendor/github.com/Microsoft/hcsshim/ext4/internal/compactext4/compact.go
generated
vendored
@@ -424,7 +424,7 @@ func (w *Writer) makeInode(f *File, node *inode) (*inode, error) {
|
||||
case format.S_IFREG:
|
||||
size = f.Size
|
||||
if f.Size > maxFileSize {
|
||||
return nil, fmt.Errorf("file too big: %d > %d", f.Size, maxFileSize)
|
||||
return nil, fmt.Errorf("file too big: %d > %d", f.Size, int64(maxFileSize))
|
||||
}
|
||||
if f.Size <= inlineDataSize && w.supportInlineData {
|
||||
node.Data = make([]byte, f.Size)
|
||||
|
||||
Reference in New Issue
Block a user