Skip to content

Commit

Permalink
bugfix: if git repo has NOT been cloned
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Oct 10, 2023
1 parent 02f1ced commit ec8ae0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/src/backend/views/ETLPipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def post(self, request, group_id, *_, **__):

# Clone the git repository that contains the pipeline and task definitions that will be used
tapis_owe_templates_dir = "/tmp/git/tapis-owe-templates"
if os.path.exists(tapis_owe_templates_dir):
if not os.path.exists(tapis_owe_templates_dir):
try:
Repo.clone_from(
uses.source.url,
Expand Down

0 comments on commit ec8ae0a

Please sign in to comment.