From a1a581c510a7d82286b6fdc6c72e869663c5318e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C5=8Dshin?= Date: Thu, 4 Mar 2021 21:22:25 -0800 Subject: [PATCH] interface: correct gcgManager comment --- pkg/interface/src/logic/lib/gcpManager.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkg/interface/src/logic/lib/gcpManager.ts b/pkg/interface/src/logic/lib/gcpManager.ts index 628bcfc29..69f157c2c 100644 --- a/pkg/interface/src/logic/lib/gcpManager.ts +++ b/pkg/interface/src/logic/lib/gcpManager.ts @@ -5,10 +5,11 @@ // 1. call configure with a GlobalApi and GlobalStore. // 2. call start() to start the token refresh loop. // -// If the ship has S3 credentials set, we don't try to get a token, but we keep -// checking at regular intervals to see if they get unset. Otherwise, we try to -// invoke the GCP token thread on the ship until it gives us an access token. -// Once we have a token, we refresh it every hour or so, since it has an +// If the ship does not have GCP storage configured, we don't try to get +// a token, but we keep checking at regular intervals to see if it gets +// configured. If GCP storage is configured, we try to invoke the GCP +// get-token thread on the ship until it gives us an access token. Once +// we have a token, we refresh it every hour or so according to its // intrinsic expiry. // //