Skip to content

Commit 3c4b37e

Browse files
sagor999nandajavarma
authored andcommitted
fix nit
1 parent 4adf480 commit 3c4b37e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/ws-daemon/pkg/cgroup/plugin_process_priority_v2.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const (
3939
ProcessDefault ProcessType = "default"
4040

4141
// Repeat applying until this number of processes is reached
42-
NumberOfProcessesToStopApllying = 5
42+
NumberOfProcessesToStopApplying = 5
4343
)
4444

4545
type ProcessPriorityV2 struct {
@@ -112,7 +112,7 @@ func (c *ProcessPriorityV2) Apply(ctx context.Context, opts *PluginOptions) erro
112112
}
113113
}
114114

115-
if countRunningProcess >= NumberOfProcessesToStopApllying {
115+
if countRunningProcess >= NumberOfProcessesToStopApplying {
116116
return nil
117117
}
118118
}

0 commit comments

Comments
 (0)