mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-03 05:33:30 -04:00
build(deps): bump github.com/KimMachineGun/automemlimit
Bumps [github.com/KimMachineGun/automemlimit](https://github.com/KimMachineGun/automemlimit) from 0.7.1 to 0.7.2. - [Release notes](https://github.com/KimMachineGun/automemlimit/releases) - [Commits](https://github.com/KimMachineGun/automemlimit/compare/v0.7.1...v0.7.2) --- updated-dependencies: - dependency-name: github.com/KimMachineGun/automemlimit dependency-version: 0.7.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
4
vendor/github.com/KimMachineGun/automemlimit/memlimit/cgroups.go
generated
vendored
4
vendor/github.com/KimMachineGun/automemlimit/memlimit/cgroups.go
generated
vendored
@@ -276,11 +276,9 @@ func parseMountInfoLine(line string) (mountInfo, error) {
|
||||
fields1 = append(fields1, "")
|
||||
}
|
||||
|
||||
fields2 := strings.Split(fieldss[1], " ")
|
||||
fields2 := strings.SplitN(fieldss[1], " ", 3)
|
||||
if len(fields2) < 3 {
|
||||
return mountInfo{}, fmt.Errorf("not enough fields after separator: %v", fields2)
|
||||
} else if len(fields2) > 3 {
|
||||
return mountInfo{}, fmt.Errorf("too many fields after separator: %v", fields2)
|
||||
}
|
||||
|
||||
return mountInfo{
|
||||
|
||||
Reference in New Issue
Block a user