summaryrefslogtreecommitdiff
path: root/src/buildstream/_pluginfactory/sourcefactory.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_pluginfactory/sourcefactory.py')
-rw-r--r--src/buildstream/_pluginfactory/sourcefactory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_pluginfactory/sourcefactory.py b/src/buildstream/_pluginfactory/sourcefactory.py
index 2ed78f838..3375d182b 100644
--- a/src/buildstream/_pluginfactory/sourcefactory.py
+++ b/src/buildstream/_pluginfactory/sourcefactory.py
@@ -49,6 +49,6 @@ class SourceFactory(PluginFactory):
# LoadError (if the source itself took issue with the config)
#
def create(self, context, project, meta, variables):
- source_type, _ = self.lookup(context.messenger, meta.kind, meta.provenance)
+ source_type, _ = self.lookup(context.messenger, meta.kind, meta.config)
source = source_type(context, project, meta, variables)
return source