diff --git a/restic_volume_backup/containers.py b/restic_volume_backup/containers.py index 5b7f68b..6983e23 100644 --- a/restic_volume_backup/containers.py +++ b/restic_volume_backup/containers.py @@ -137,17 +137,6 @@ class Container: return value.split(',') - def to_dict(self): - return { - 'Id': self.id, - 'Names': self.names, - 'State': self.state, - 'Labels': self.labels, - 'Mounts': [mnt.data for mnt in self.mounts], - 'include': self.include, - 'exclude': self.exlude, - } - class Mount: """Represents a volume mount (volume or bind)"""