From 6d0002f645025b2d0b11b5d43469c5c54acb395a Mon Sep 17 00:00:00 2001 From: Adam Stokes <51892+adam-stokes@users.noreply.github.com> Date: Mon, 11 Apr 2022 15:41:40 -0400 Subject: [PATCH] only parse Ok --- ogc.yml | 2 +- ogc/actions.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ogc.yml b/ogc.yml index 5f9da95..2847713 100644 --- a/ogc.yml +++ b/ogc.yml @@ -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 diff --git a/ogc/actions.py b/ogc/actions.py index 9b3f9f4..857a64c 100644 --- a/ogc/actions.py +++ b/ogc/actions.py @@ -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]: