mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-09-28 06:35:24 +00:00
Make container objects comparable
This commit is contained in:
@@ -131,6 +131,9 @@ class Container:
|
||||
|
||||
return value.split(',')
|
||||
|
||||
def __eq__(self, other):
|
||||
return self.id == other.id
|
||||
|
||||
|
||||
class Mount:
|
||||
"""Represents a volume mount (volume or bind)"""
|
||||
|
Reference in New Issue
Block a user