Skip to content

Commit

Permalink
Fix net_prio typo
Browse files Browse the repository at this point in the history
Signed-off-by: Cedric Clerget <cedric.clerget@gmail.com>
  • Loading branch information
cclerget committed Dec 3, 2018
1 parent c0437c3 commit 6b552a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net_prio.go
Expand Up @@ -50,7 +50,7 @@ func (n *netprioController) Create(path string, resources *specs.LinuxResources)
if resources.Network != nil {
for _, prio := range resources.Network.Priorities {
if err := ioutil.WriteFile(
filepath.Join(n.Path(path), "net_prio_ifpriomap"),
filepath.Join(n.Path(path), "net_prio.ifpriomap"),
formatPrio(prio.Name, prio.Priority),
defaultFilePerm,
); err != nil {
Expand Down

0 comments on commit 6b552a8

Please sign in to comment.