mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 10:11:17 +00:00
doc: Update resolver example to use context directly
This commit is contained in:
parent
60e9f08ebc
commit
af8bc42cc2
@ -239,7 +239,7 @@ binary has been previously deployed by WA and will not try to re-install.
|
||||
|
||||
from wa import Executable
|
||||
|
||||
host_binary = context.resolver.get(Executable(self, self.target.abi, 'some_binary'))
|
||||
host_binary = context.get(Executable(self, self.target.abi, 'some_binary'))
|
||||
target_binary = self.target.install_if_needed(host_binary)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user