renaming destination to source.

This commit is contained in:
Hossein Shafagh 2019-02-04 16:10:48 -08:00
parent 44a060b159
commit f249a82d71
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ def create(label, plugin_name, options, description=None):
# add the destination as source, to avoid new destinations that are not in source, as long as an AWS destination
if plugin_name == 'aws-destination':
sources_service.create(label=label, plugin_name=plugin_name, options=options, description=description)
sources_service.create(label=label, plugin_name='aws-source', options=options, description=description)
current_app.logger.info("Source: %s created", label)
return database.create(destination)