aboutsummaryrefslogtreecommitdiff
path: root/pkg/specgen/utils.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-01 20:48:25 +0200
committerGitHub <noreply@github.com>2022-09-01 20:48:25 +0200
commitd0d1af338a500f2ad00d5ce0638901465602817d (patch)
tree327a081bd2243ffcbdf786a940b1dc82d041bea5 /pkg/specgen/utils.go
parent0085fbb488eec30e71e6cced6a06dbdb134e32a6 (diff)
parent050f3291b9ef8788510b78c543055638275eb20f (diff)
downloadpodman-d0d1af338a500f2ad00d5ce0638901465602817d.tar.gz
podman-d0d1af338a500f2ad00d5ce0638901465602817d.tar.bz2
podman-d0d1af338a500f2ad00d5ce0638901465602817d.zip
Merge pull request #15276 from cdoern/update
implement podman update
Diffstat (limited to 'pkg/specgen/utils.go')
-rw-r--r--pkg/specgen/utils.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/specgen/utils.go b/pkg/specgen/utils.go
new file mode 100644
index 000000000..dc9127bb3
--- /dev/null
+++ b/pkg/specgen/utils.go
@@ -0,0 +1,14 @@
+//go:build !linux
+// +build !linux
+
+package specgen
+
+// FinishThrottleDevices cannot be called on non-linux OS' due to importing unix functions
+func FinishThrottleDevices(s *SpecGenerator) error {
+ return nil
+}
+
+// WeightDevices cannot be called on non-linux OS' due to importing unix functions
+func WeightDevices(s *SpecGenerator) error {
+ return nil
+}