File tree 2 files changed +3
-3
lines changed
KubernetesClient/Authentication
KubernetesClient.Models/KubeConfigModels
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ public class ExecCredentialResponse
5
5
public class ExecStatus
6
6
{
7
7
#nullable enable
8
- public DateTime ? Expiry { get ; set ; }
8
+ public DateTime ? ExpirationTimestamp { get ; set ; }
9
9
public string ? Token { get ; set ; }
10
10
public string ? ClientCertificateData { get ; set ; }
11
11
public string ? ClientKeyData { get ; set ; }
Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ private bool NeedsRefresh()
23
23
return true ;
24
24
}
25
25
26
- if ( response . Status . Expiry == null )
26
+ if ( response . Status . ExpirationTimestamp == null )
27
27
{
28
28
return false ;
29
29
}
30
30
31
- return DateTime . UtcNow . AddSeconds ( 30 ) > response . Status . Expiry ;
31
+ return DateTime . UtcNow . AddSeconds ( 30 ) > response . Status . ExpirationTimestamp ;
32
32
}
33
33
34
34
public async Task < AuthenticationHeaderValue > GetAuthenticationHeaderAsync ( CancellationToken cancellationToken )
You can’t perform that action at this time.
0 commit comments