diff --git a/restic_volume_backup/containers.py b/restic_volume_backup/containers.py index fbf732c..121db9a 100644 --- a/restic_volume_backup/containers.py +++ b/restic_volume_backup/containers.py @@ -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)"""