summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2020-05-05 18:18:53 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2020-05-06 15:35:08 +0900
commit03500289474cff921868d07732cd99ec12fb7dc9 (patch)
tree7c21135c554de2387807994030d33b6d36602a52
parent9b42678148cdc32233ff06f06bde71d0d915021a (diff)
downloadbuildstream-03500289474cff921868d07732cd99ec12fb7dc9.tar.gz
junction.py: Call node.validate_keys() in Plugin.configure()
-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)