From 6cbb2de401cab3cf60ef1fac3632c6eb1ed320c6 Mon Sep 17 00:00:00 2001 From: Fabian Reisegger Date: Wed, 31 Jan 2024 11:28:38 +0100 Subject: [PATCH] Rename grand central session cookie --- croud/scheduledjobs/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/croud/scheduledjobs/commands.py b/croud/scheduledjobs/commands.py index 77c5f7d6..3957984d 100644 --- a/croud/scheduledjobs/commands.py +++ b/croud/scheduledjobs/commands.py @@ -126,6 +126,6 @@ def _get_gc_client(args: Namespace) -> Client: url_region_cloud = cluster.get("fqdn").split(".", 1)[1][:-1] # type: ignore gc_url = f"https://{cluster.get('name')}.gc.{url_region_cloud}" # type: ignore client.base_url = URL(gc_url) - client.session.cookies.set("cratedb_center_session", CONFIG.gc_jwt_token) + client.session.cookies.set("grand_central_session", CONFIG.gc_jwt_token) return client