From a10ddd00825121b71f2520179727a08bbad84cf2 Mon Sep 17 00:00:00 2001 From: ogabrielluiz Date: Wed, 5 Jun 2024 19:01:48 -0300 Subject: [PATCH] Refactor restart_space script to accept space and token as command line arguments --- scripts/factory_restart_space.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/factory_restart_space.py b/scripts/factory_restart_space.py index 8a52dc42a..07a25d0de 100644 --- a/scripts/factory_restart_space.py +++ b/scripts/factory_restart_space.py @@ -18,7 +18,7 @@ if not space: print("Please provide a space to restart.") exit() -if not parsed_args.api_token: +if not parsed_args.token: print("Please provide an API token.") exit()