Skip to content

Commit 93b87f4

Browse files
committed
Added debug statement to confirm that a token was at last obtained.
1 parent b2f9332 commit 93b87f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

util/src/main/java/io/kubernetes/client/util/KubeConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ private String tokenViaExecCredential(Map<String, Object> execMap) {
283283
log.warn("No token produced by {}", command);
284284
return null;
285285
}
286+
log.debug("Obtained a token from {}", command);
286287
return token.getAsString();
287288
// TODO cache tokens between calls, up to .status.expirationTimestamp
288289
// TODO a 401 is supposed to force a refresh,

0 commit comments

Comments
 (0)