Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
only parse Ok
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-stokes committed Apr 11, 2022
1 parent 3c4266d commit 6d0002f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ogc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ layouts:
username: ubuntu
scripts: fixtures/ex_deploy_ubuntu
provider: aws
scale: 1
scale: 10
remote-path: /home/ubuntu/ogc
exclude:
- .git
Expand Down
2 changes: 1 addition & 1 deletion ogc/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def launch_async(
launch,
[layout.as_dict() for layout in layouts for _ in range(layout.scale)],
)
return (result.unwrap() for result in results)
return (result.unwrap() for result in results if result.is_ok())


def deploy(node_id: int) -> Result[bool, str]:
Expand Down

0 comments on commit 6d0002f

Please sign in to comment.