diff options
author | Lovett, Trevor <trevor.lovett@att.com> | 2020-08-06 15:33:13 -0500 |
---|---|---|
committer | Lovett, Trevor <trevor.lovett@att.com> | 2020-08-06 15:33:13 -0500 |
commit | 4c2a2033d927552f7e9281e516afba38f146c242 (patch) | |
tree | 77911f93d60349b8c8c75fdcff431159ad03f175 /ice_validator/preload | |
parent | 81e7158ad5e4b0b5996931642bd19c85f2b3cb6e (diff) |
An incremental module must have a server or volume
Change-Id: I579f7303cbeb2785fbb3e1e85b10af77433292fa
Issue-ID: VVP-451
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Diffstat (limited to 'ice_validator/preload')
-rw-r--r-- | ice_validator/preload/environment.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ice_validator/preload/environment.py b/ice_validator/preload/environment.py index 6d8d7c3..120e3c8 100644 --- a/ice_validator/preload/environment.py +++ b/ice_validator/preload/environment.py @@ -51,7 +51,7 @@ class CloudServiceArchive: :param vf_module: name of Heat module (no path or file extension) :return: The definition of the module as a dict or None if not found """ - if( + if ( vf_module.endswith(".env") or vf_module.endswith(".yaml") or vf_module.endswith(".yml") @@ -293,7 +293,6 @@ class PreloadEnvironment: class EnvironmentFilePreloadInstance(AbstractPreloadInstance): - def __init__(self, env: PreloadEnvironment, module_label: str, module_params: dict): self.module_params = module_params self._module_label = module_label @@ -397,7 +396,6 @@ class EnvironmentFilePreloadInstance(AbstractPreloadInstance): class EnvironmentFileDataSource(AbstractPreloadDataSource): - def __init__(self, path: Path): super().__init__(path) check(path.is_dir(), f"{path} must be an existing directory") |