summaryrefslogtreecommitdiff
path: root/vendor/github.com/KimMachineGun/automemlimit/memlimit/cgroups_unsupported.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-05-01 11:01:36 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-01 11:01:36 +0200
commitab7f518f5732fe5ac71d806858340b0d86ccc004 (patch)
tree4cfe513f79649731edf908fa3ff5fc005c0bd661 /vendor/github.com/KimMachineGun/automemlimit/memlimit/cgroups_unsupported.go
parent[chore]: Bump github.com/miekg/dns from 1.1.53 to 1.1.54 (#1727) (diff)
downloadgotosocial-ab7f518f5732fe5ac71d806858340b0d86ccc004.tar.xz
[chore]: Bump github.com/KimMachineGun/automemlimit from 0.2.5 to 0.2.6 (#1723)
Bumps [github.com/KimMachineGun/automemlimit](https://github.com/KimMachineGun/automemlimit) from 0.2.5 to 0.2.6. - [Release notes](https://github.com/KimMachineGun/automemlimit/releases) - [Commits](https://github.com/KimMachineGun/automemlimit/compare/v0.2.5...v0.2.6) --- updated-dependencies: - dependency-name: github.com/KimMachineGun/automemlimit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/github.com/KimMachineGun/automemlimit/memlimit/cgroups_unsupported.go')
-rw-r--r--vendor/github.com/KimMachineGun/automemlimit/memlimit/cgroups_unsupported.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/github.com/KimMachineGun/automemlimit/memlimit/cgroups_unsupported.go b/vendor/github.com/KimMachineGun/automemlimit/memlimit/cgroups_unsupported.go
index 3ccf77992..62f9bcfa4 100644
--- a/vendor/github.com/KimMachineGun/automemlimit/memlimit/cgroups_unsupported.go
+++ b/vendor/github.com/KimMachineGun/automemlimit/memlimit/cgroups_unsupported.go
@@ -11,6 +11,10 @@ func FromCgroupV1() (uint64, error) {
return 0, ErrCgroupsNotSupported
}
+func fromCgroupHybrid() (uint64, error) {
+ return 0, ErrCgroupsNotSupported
+}
+
func FromCgroupV2() (uint64, error) {
return 0, ErrCgroupsNotSupported
}