Skip to content

Commit

Permalink
Addressing review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
IanWoodard committed Nov 11, 2024
1 parent a428874 commit 4fd3b32
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion devservices/commands/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def logs(args: Namespace) -> None:
service,
"logs",
mode_dependencies,
remote_dependencies,
options=["-n", MAX_LOG_LINES],
remote_dependencies=remote_dependencies,
)
except DockerComposeError as dce:
console.failure(f"Failed to get logs for {service.name}: {dce.stderr}")
Expand Down
4 changes: 2 additions & 2 deletions devservices/commands/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def start(args: Namespace) -> None:
service,
"up",
mode_dependencies,
["-d"],
remote_dependencies=remote_dependencies,
remote_dependencies,
options=["-d"],
)
except DockerComposeError as dce:
status.failure(f"Failed to start {service.name}: {dce.stderr}")
Expand Down
2 changes: 1 addition & 1 deletion devservices/commands/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def status(args: Namespace) -> None:
service,
"ps",
mode_dependencies,
remote_dependencies,
options=["--format", "json"],
remote_dependencies=remote_dependencies,
)
except DockerComposeError as dce:
console.failure(f"Failed to get status for {service.name}: {dce.stderr}")
Expand Down
2 changes: 1 addition & 1 deletion devservices/commands/stop.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def stop(args: Namespace) -> None:
service,
"down",
mode_dependencies,
remote_dependencies=remote_dependencies,
remote_dependencies,
)
except DockerComposeError as dce:
status.failure(f"Failed to stop {service.name}: {dce.stderr}")
Expand Down
2 changes: 1 addition & 1 deletion devservices/utils/docker_compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ def run_docker_compose_command(
service: Service,
command: str,
mode_dependencies: list[str],
remote_dependencies: set[InstalledRemoteDependency],
options: list[str] = [],
remote_dependencies: set[InstalledRemoteDependency] = set(),
) -> list[subprocess.CompletedProcess[str]]:
relative_local_dependency_directory = os.path.relpath(
os.path.join(DEVSERVICES_DEPENDENCIES_CACHE_DIR, DEPENDENCY_CONFIG_VERSION),
Expand Down

0 comments on commit 4fd3b32

Please sign in to comment.