Skip to content

Commit

Permalink
use new add_pipeline method in CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-darling committed Aug 8, 2023
1 parent 45c1f5d commit 7aa9006
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions garden_ai/app/garden.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,7 @@ def add_pipeline(
)
garden.rename_pipeline(old_name, pipeline_alias)
else:
garden.pipeline_ids += [to_add.doi]
if pipeline_alias:
garden.rename_pipeline(to_add.short_name, pipeline_alias)
garden.add_pipeline(pipeline_id, pipeline_alias)
local_data.put_local_garden(garden)
logger.info(f"Added pipeline {pipeline_id} to Garden {garden_id}")

Expand Down

0 comments on commit 7aa9006

Please sign in to comment.