Skip to content

Commit

Permalink
fix(down): Use stop rather than down to avoid removing containers (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanWoodard authored Jan 2, 2025
1 parent f22580a commit e40aa4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion devservices/commands/down.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def _down(
service=service,
remote_dependencies=list(remote_dependencies),
current_env=current_env,
command="down",
command="stop",
options=[],
service_config_file_path=service_config_file_path,
mode_dependencies=mode_dependencies,
Expand Down
4 changes: 2 additions & 2 deletions tests/commands/test_down.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def test_down_simple(
"example-service",
"-f",
f"{service_path}/{DEVSERVICES_DIR_NAME}/{CONFIG_FILE_NAME}",
"down",
"stop",
"clickhouse",
"redis",
],
Expand Down Expand Up @@ -220,7 +220,7 @@ def test_down_mode_simple(
"example-service",
"-f",
f"{service_path}/{DEVSERVICES_DIR_NAME}/{CONFIG_FILE_NAME}",
"down",
"stop",
"redis",
],
check=True,
Expand Down

0 comments on commit e40aa4a

Please sign in to comment.