Fix pkgmgr typo
This commit is contained in:
parent
57212cb6b3
commit
e867ee7e64
@ -245,7 +245,7 @@ class PkgMgr:
|
||||
|
||||
def purge_unused_layers(self):
|
||||
# Remove layers which are no longer used by any installed application
|
||||
layers = set(os.list(LXC_STORAGE_DIR))
|
||||
layers = set(os.listdir(LXC_STORAGE_DIR))
|
||||
for app in self.installed_packages['apps']:
|
||||
for container in self.installed_packages['apps'][app]['containers']:
|
||||
image = self.installed_packages['apps'][app]['containers'][container]['image']
|
||||
|
Loading…
Reference in New Issue
Block a user