Fix pkgmgr typo

This commit is contained in:
Disassembler 2019-12-09 22:27:21 +01:00
parent 57212cb6b3
commit e867ee7e64
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499

View File

@ -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']