Skip to content

Commit 6fc3cf3

Browse files
committed
Return longer app name in api
1 parent e583bd2 commit 6fc3cf3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

api/views.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,11 +1155,11 @@ def get_content_review(request: HttpRequest) -> HttpResponse:
11551155
# Non-running user apps
11561156
if app.atn_app_status != "Running":
11571157
n_apps_not_running += 1
1158-
apps_not_running.append(app.name[:6])
1158+
apps_not_running.append(app.name[:12])
11591159

11601160
if app.atn_app_status.startswith("Error"):
11611161
n_apps_status_error += 1
1162-
apps_status_error.append(app.name[:6])
1162+
apps_status_error.append(app.name[:12])
11631163

11641164
# Suspect user app status
11651165
# Defined by if latest user action is either Creating or Changing
@@ -1174,7 +1174,7 @@ def get_content_review(request: HttpRequest) -> HttpResponse:
11741174
k8s_status = None if app.k8s_user_app_status is None else app.k8s_user_app_status.status
11751175
apps_suspect_status.append(
11761176
{
1177-
"name": app.name[:6],
1177+
"name": app.name[:12],
11781178
"action": app.latest_user_action,
11791179
"k8s_status": k8s_status,
11801180
"created": app.created_on,

0 commit comments

Comments
 (0)