Skip to content

Commit

Permalink
update value
Browse files Browse the repository at this point in the history
  • Loading branch information
goFrendiAsgard committed Oct 19, 2023
1 parent f14d629 commit 43d44ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/zrb/builtin/generator/app_generator/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ async def validate(*args: Any, **kwargs: Any):
copy_http_port_custom_image_resource = ResourceMaker(
name='copy-http-port-custom-image-resource',
inputs=inputs,
should_execute='{{ input.is_http_port or not input.build_custom_image }}',
should_execute='{{ input.is_http_port and input.build_custom_image }}',
upstreams=[copy_custom_image_resource],
replacements=replacements,
template_path=os.path.join(CURRENT_DIR, 'template', 'http-port-build-custom-image'), # noqa
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def should_start_support_container(*args: Any, **kwargs: Any) -> bool:


def should_start_local_monolith(*args: Any, **kwargs: Any) -> bool:
if kwargs.get('local_snake_zrb_app_name', True):
return True
if not kwargs.get('local_snake_zrb_app_name', True):
return False
return kwargs.get('snake_zrb_app_name_run_mode', 'monolith') == 'monolith'


Expand Down

0 comments on commit 43d44ad

Please sign in to comment.