diff options
Diffstat (limited to 'src/buildstream/_pluginfactory/elementfactory.py')
-rw-r--r-- | src/buildstream/_pluginfactory/elementfactory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_pluginfactory/elementfactory.py b/src/buildstream/_pluginfactory/elementfactory.py index 7d94c2541..f23ace809 100644 --- a/src/buildstream/_pluginfactory/elementfactory.py +++ b/src/buildstream/_pluginfactory/elementfactory.py @@ -48,6 +48,6 @@ class ElementFactory(PluginFactory): # LoadError (if the element itself took issue with the config) # def create(self, context, project, load_element): - element_type, default_config = self.lookup(context.messenger, load_element.kind, load_element.provenance) + element_type, default_config = self.lookup(context.messenger, load_element.kind, load_element.node) element = element_type(context, project, load_element, default_config) return element |