Commit 67d13a61 authored by Antonio Terceiro's avatar Antonio Terceiro
Browse files

dispatcher: deploy/overlay: make deployment_data optional

parent f27170d6
......@@ -119,7 +119,7 @@ class CreateOverlay(DeployAction):
)
# Add distro support scripts - only if deployment_data is set
distro = self.parameters["deployment_data"].get("distro")
distro = self.parameters.get("deployment_data", {}).get("distro")
if distro:
distro_support_dir = "%s/distro/%s" % (self.lava_test_dir, distro)
self.scripts_to_copy += sorted(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment