Skip to content

Commit

Permalink
fix: incorrect file mode parsing bug
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Meier <[email protected]>
  • Loading branch information
astromechza committed Nov 22, 2024
1 parent 265842e commit 290c567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/convert/container_files.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func convertContainerFile(

var mountMode *int32
if fileElem.Mode != nil {
df, err := strconv.ParseInt(*fileElem.Mode, 10, 32)
df, err := strconv.ParseInt(*fileElem.Mode, 8, 32)
if err != nil {
return mount, nil, nil, errors.Wrapf(err, "mode: failed to parse '%s'", *fileElem.Mode)
}
Expand Down

0 comments on commit 290c567

Please sign in to comment.