diff --git a/ui/operator_ui/main.py b/ui/operator_ui/main.py index 579f0e7d8..91f5d49d9 100644 --- a/ui/operator_ui/main.py +++ b/ui/operator_ui/main.py @@ -961,6 +961,8 @@ def get_operator_get_logs(worker: int): @app.route('/operator/clusters///logs') @authorize def get_operator_get_logs_per_cluster(namespace: str, cluster: str): + team, cluster_name = cluster.split('-', 1) + # team id might contain hivens, try to find correct team name user_teams = get_teams_for_user(session.get('user_name', '')) for user_team in user_teams: if cluster.find(user_team) == 0: