summaryrefslogtreecommitdiff
path: root/src/buildstream/_gitsourcebase.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_gitsourcebase.py')
-rw-r--r--src/buildstream/_gitsourcebase.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildstream/_gitsourcebase.py b/src/buildstream/_gitsourcebase.py
index 5ed844bbe..311bfca08 100644
--- a/src/buildstream/_gitsourcebase.py
+++ b/src/buildstream/_gitsourcebase.py
@@ -381,11 +381,11 @@ class _GitSourceBase(Source):
config_keys = ['url', 'track', 'ref', 'submodules',
'checkout-submodules', 'ref-format',
'track-tags', 'tags']
- self.node_validate(node, config_keys + Source.COMMON_CONFIG_KEYS)
+ node.validate_keys(config_keys + Source.COMMON_CONFIG_KEYS)
tags_node = node.get_sequence('tags', [])
for tag_node in tags_node:
- self.node_validate(tag_node, ['tag', 'commit', 'annotated'])
+ tag_node.validate_keys(['tag', 'commit', 'annotated'])
tags = self._load_tags(node)
self.track_tags = node.get_bool('track-tags', default=False)