Skip to content

Commit

Permalink
libcontainer/intelrdt: modify the incorrect file mode
Browse files Browse the repository at this point in the history
Signed-off-by: Kenta Tada <[email protected]>
  • Loading branch information
Kenta Tada authored and Kenta Tada committed Oct 1, 2020
1 parent c827376 commit 1f5089f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcontainer/intelrdt/monitoring_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func mockResctrlL3_MON(NUMANodes []string, mocks map[string]uint64) (string, err
}

for fileName, value := range mocks {
err := ioutil.WriteFile(filepath.Join(numaPath, fileName), []byte(strconv.FormatUint(value, 10)), 777)
err := ioutil.WriteFile(filepath.Join(numaPath, fileName), []byte(strconv.FormatUint(value, 10)), 0777)
if err != nil {
return "", err
}
Expand Down

0 comments on commit 1f5089f

Please sign in to comment.