diff --git a/tutor/commands/compose.py b/tutor/commands/compose.py index b6ca7d3059..824b0d1c45 100644 --- a/tutor/commands/compose.py +++ b/tutor/commands/compose.py @@ -205,9 +205,9 @@ def interactive_configuration( run_for_prod: t.Optional[bool] = None, clean_environment: bool = False, ) -> None: - click.echo(fmt.title("Interactive platform configuration")) config = tutor_config.load_minimal(context.obj.root) if interactive: + click.echo(fmt.title("Interactive platform configuration")) interactive_config.ask_questions( config, context.obj.root, diff --git a/tutor/commands/k8s.py b/tutor/commands/k8s.py index 7e960ce3aa..d938fdff2b 100644 --- a/tutor/commands/k8s.py +++ b/tutor/commands/k8s.py @@ -234,9 +234,9 @@ def launch( from_release=tutor_env.get_env_release(context.obj.root), ) - click.echo(fmt.title("Interactive platform configuration")) config = tutor_config.load_minimal(context.obj.root) if not non_interactive: + click.echo(fmt.title("Interactive platform configuration")) interactive_config.ask_questions( config, context.obj.root, run_for_prod=True, clean_environment=clean_env )