Skip to content

Commit a2d1582

Browse files
authored
Use K8S_PROJECT instead application_id (#5138)
Signed-off-by: Javan Lacerda <javanlacerda@google.com>
1 parent f97c712 commit a2d1582

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/clusterfuzz/_internal/k8s/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def __init__(self, k8s_config_loaded: bool = False):
176176
def _load_gke_credentials(self):
177177
"""Loads GKE credentials and configures the Kubernetes client."""
178178
credentials, _ = google.auth.default()
179-
project = utils.get_application_id()
179+
project = environment.get_value('K8S_PROJECT')
180180
service = discovery.build('container', 'v1', credentials=credentials)
181181
parent = f'projects/{project}/locations/-'
182182

0 commit comments

Comments
 (0)