diff --git a/src/zrb/builtin/generator/fastapp/template/_automate/snake_zrb_app_name/_common.py b/src/zrb/builtin/generator/fastapp/template/_automate/snake_zrb_app_name/_common.py index 586532ff..5129d73f 100644 --- a/src/zrb/builtin/generator/fastapp/template/_automate/snake_zrb_app_name/_common.py +++ b/src/zrb/builtin/generator/fastapp/template/_automate/snake_zrb_app_name/_common.py @@ -31,8 +31,8 @@ def should_start_local_microservices(*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 run_mode = kwargs.get('snake_zrb_app_name_run_mode', 'monolith') return run_mode == 'microservices'