diff --git a/components/ws-daemon/pkg/cgroup/plugin_process_priority_v2.go b/components/ws-daemon/pkg/cgroup/plugin_process_priority_v2.go index 24ba4dabdb41aa..f0922a659b7782 100644 --- a/components/ws-daemon/pkg/cgroup/plugin_process_priority_v2.go +++ b/components/ws-daemon/pkg/cgroup/plugin_process_priority_v2.go @@ -39,7 +39,7 @@ const ( ProcessDefault ProcessType = "default" // Repeat applying until this number of processes is reached - NumberOfProcessesToStopApllying = 5 + NumberOfProcessesToStopApplying = 5 ) type ProcessPriorityV2 struct { @@ -112,7 +112,7 @@ func (c *ProcessPriorityV2) Apply(ctx context.Context, opts *PluginOptions) erro } } - if countRunningProcess >= NumberOfProcessesToStopApllying { + if countRunningProcess >= NumberOfProcessesToStopApplying { return nil } }