Skip to content

Commit 89950b7

Browse files
Furistoroboquat
authored andcommitted
Fix spelling mistake and use cpuLimit identifier
1 parent ae3a0e0 commit 89950b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

chart/templates/ws-daemon-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ daemon:
4343
userUIDRange:
4444
- start: 100000
4545
size: 70000
46-
resources:
46+
cpuLimit:
4747
enabled: {{ $comp.cpuLimit.enabled }}
4848
totalBandwidth: {{ $comp.cpuLimit.totalBandwidth }}
4949
limit: {{ $comp.cpuLimit.limit }}

components/ws-daemon/pkg/cpulimit/dispatch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type Config struct {
2626
Enabled bool `json:"enabled"`
2727
TotalBandwidth resource.Quantity `json:"totalBandwidth"`
2828
Limit resource.Quantity `json:"limit"`
29-
BurstLimit resource.Quantity `json:"bustLimit"`
29+
BurstLimit resource.Quantity `json:"burstLimit"`
3030

3131
ControlPeriod util.Duration `json:"controlPeriod"`
3232
CGroupBasePath string `json:"cgroupBasePath"`

0 commit comments

Comments
 (0)