summaryrefslogtreecommitdiff
path: root/buildstream/plugins/sources/ostree.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/plugins/sources/ostree.py')
-rw-r--r--buildstream/plugins/sources/ostree.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildstream/plugins/sources/ostree.py b/buildstream/plugins/sources/ostree.py
index f08afc58f..d3a164101 100644
--- a/buildstream/plugins/sources/ostree.py
+++ b/buildstream/plugins/sources/ostree.py
@@ -63,6 +63,8 @@ class OSTreeSource(Source):
def configure(self, node):
project = self.get_project()
+ self.node_validate(node, ['url', 'ref', 'track', 'gpg-key'] + Source.COMMON_CONFIG_KEYS)
+
self.original_url = self.node_get_member(node, str, 'url')
self.url = project.translate_url(self.original_url)
self.ref = self.node_get_member(node, str, 'ref', '') or None