summaryrefslogtreecommitdiff
path: root/libpod/lock/shm_lock_manager_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/lock/shm_lock_manager_unsupported.go')
-rw-r--r--libpod/lock/shm_lock_manager_unsupported.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpod/lock/shm_lock_manager_unsupported.go b/libpod/lock/shm_lock_manager_unsupported.go
index cbdb2f7bc..1d6e3fcbd 100644
--- a/libpod/lock/shm_lock_manager_unsupported.go
+++ b/libpod/lock/shm_lock_manager_unsupported.go
@@ -27,3 +27,8 @@ func (m *SHMLockManager) AllocateLock() (Locker, error) {
func (m *SHMLockManager) RetrieveLock(id string) (Locker, error) {
return nil, fmt.Errorf("not supported")
}
+
+// FreeAllLocks is not supported on this platform
+func (m *SHMLockManager) FreeAllLocks() error {
+ return fmt.Errorf("not supported")
+}