1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 12:06:08 +00:00

command/revent: Fix resolver call

Call resolver's get() method, rather than get_resource(), incorrectly
introduced in the previous commit. Also add get() alias to the context
to allow it to be used as a resolver.
This commit is contained in:
Sergei Trofimov 2018-06-18 17:45:21 +01:00
parent 4a06c13738
commit 88731fe489

View File

@ -292,4 +292,6 @@ class LightContext(object):
self.resolver.load()
def get_resource(self, resource, strict=True):
return self.resolver.get_resource(resource, strict)
return self.resolver.get(resource, strict)
get = get_resource