1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-02-07 05:30:44 +00:00

Merge pull request #203 from mdigiorgio/fix-cgroups

module/cgroups: fix typo in exists method
This commit is contained in:
marcbonnici 2017-11-15 16:00:45 +00:00 committed by GitHub
commit 02384615dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,7 @@ class Controller(object):
.format(self.kind))
if name not in self._cgroups:
self._cgroups[name] = CGroup(self, name, create=False)
return self._cgroups[name].existe()
return self._cgroups[name].exists()
def list_all(self):
self.logger.debug('Listing groups for %s controller', self.kind)