1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 03:12:34 +01:00

Fixing assets discovery.

- Two different parameters may now have the same global alias as long as
  their types match
- `extension_asset` resource getter now picks up the path to the mouted
  filer from ``remote_assets_path`` global setting.
This commit is contained in:
Sergei Trofimov
2016-01-22 11:58:54 +00:00
parent 73ddc205fc
commit 98b19328de
2 changed files with 3 additions and 6 deletions

View File

@@ -80,8 +80,8 @@ class GlobalParameterAlias(object):
other_param.kind != param.kind):
message = 'Duplicate global alias {} declared in {} and {} extensions with different types'
raise LoaderError(message.format(self.name, ext.name, other_ext.name))
if param.name != other_param.name:
message = 'Two params {} in {} and {} in {} both declare global alias {}'
if param.kind != other_param.kind:
message = 'Two params {} in {} and {} in {} both declare global alias {}, and are of different kinds'
raise LoaderError(message.format(param.name, ext.name,
other_param.name, other_ext.name, self.name))