mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-10 05:08:54 +00:00
trivial: Fix spelling of "privilege"
I noticed the spelling mistake while reviewing another change and doing a "grep" for "privilege" that turned up nothing. Fixes: #671 Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>
This commit is contained in:
@@ -1453,7 +1453,7 @@ func addHTBQdisc(linkIndex int, maxRate uint64) error {
|
||||
Parent: netlink.HANDLE_ROOT,
|
||||
}
|
||||
qdisc := netlink.NewHtb(qdiscAttrs)
|
||||
// all non-priviledged traffic go to classid 1:2.
|
||||
// all non-privileged traffic go to classid 1:2.
|
||||
qdisc.Defcls = 2
|
||||
|
||||
err := netlink.QdiscAdd(qdisc)
|
||||
@@ -1476,7 +1476,7 @@ func addHTBQdisc(linkIndex int, maxRate uint64) error {
|
||||
return fmt.Errorf("Failed to add htb classid 1:1 : %v", err)
|
||||
}
|
||||
|
||||
// above class has at least one default child class(1:2) for all non-priviledged traffic.
|
||||
// above class has at least one default child class(1:2) for all non-privileged traffic.
|
||||
classAttrs = netlink.ClassAttrs{
|
||||
LinkIndex: linkIndex,
|
||||
Parent: netlink.MakeHandle(1, 1),
|
||||
|
Reference in New Issue
Block a user