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:
parent
4a06c13738
commit
88731fe489
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user