From 3a6fe3a43d2de1b718275650887e6b7fc4c95719 Mon Sep 17 00:00:00 2001 From: Pavel Tumik <18602811+sagor999@users.noreply.github.com> Date: Mon, 24 Oct 2022 14:21:05 +0000 Subject: [PATCH] fix nit --- components/ws-daemon/pkg/cgroup/plugin_process_priority_v2.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } }