File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ func main() {
54
54
log.Printf (" Sets IO limits to cgroup: %s \n " , cgroupPath)
55
55
manager := cgroup2.NewManager (cgroupPath)
56
56
57
- err := manager.SetIOLimitsFromJSONStringg (jsonConfig)
57
+ err := manager.SetIOLimitsFromJSONString (jsonConfig)
58
58
if err != nil {
59
59
log.Fatalf (" Failed to apply IO limits: %v \n " , err)
60
60
}
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ func main() {
36
36
log .Printf ("Sets IO limits to cgroup: %s\n " , cgroupPath )
37
37
manager := cgroup2 .NewManager (cgroupPath )
38
38
39
- err := manager .SetIOLimitsFromJSONStringg (jsonConfig )
39
+ err := manager .SetIOLimitsFromJSONString (jsonConfig )
40
40
if err != nil {
41
41
log .Fatalf ("Failed to apply IO limits: %v\n " , err )
42
42
}
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ func NewManager(cgroupPath string) *Manager {
17
17
}
18
18
}
19
19
20
- // SetIOLimitsFromJSONStringg sets IO limits from JSON configuration
21
- func (m * Manager ) SetIOLimitsFromJSONStringg (json string ) error {
20
+ // SetIOLimitsFromJSONString sets IO limits from JSON configuration
21
+ func (m * Manager ) SetIOLimitsFromJSONString (json string ) error {
22
22
return io .SetIOLimitsFromJSONString (json , m .CgroupPath )
23
23
}
24
24
You can’t perform that action at this time.
0 commit comments