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 8879a4173..f66e3d436 100644 --- a/src/buildstream/_pluginfactory/elementfactory.py +++ b/src/buildstream/_pluginfactory/elementfactory.py @@ -53,6 +53,6 @@ class ElementFactory(PluginFactory): # LoadError (if the element itself took issue with the config) # def create(self, context, project, meta): - element_type, default_config = self.lookup(meta.kind) + element_type, default_config = self.lookup(meta.kind, meta.provenance) element = element_type(context, project, meta, default_config) return element |