summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/buildstream/plugins/elements/junction.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buildstream/plugins/elements/junction.py b/src/buildstream/plugins/elements/junction.py
index 917482d63..86d1de8f8 100644
--- a/src/buildstream/plugins/elements/junction.py
+++ b/src/buildstream/plugins/elements/junction.py
@@ -172,6 +172,9 @@ class JunctionElement(Element):
BST_FORBID_RDEPENDS = True
def configure(self, node):
+
+ node.validate_keys(["path", "options", "target", "cache-junction-elements", "ignore-junction-remotes"])
+
self.path = node.get_str("path", default="")
self.options = node.get_mapping("options", default={})
self.target = node.get_str("target", default=None)