You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2020/02/29 02:32:11 UTC

[GitHub] [hadoop] vishwajeetdusane commented on a change in pull request #1866: HADOOP-16890: Change in expiry calculation for MSI token provider

vishwajeetdusane commented on a change in pull request #1866: HADOOP-16890: Change in expiry calculation for MSI token provider
URL: https://github.com/apache/hadoop/pull/1866#discussion_r385863880
 
 

 ##########
 File path: hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/oauth2/AzureADAuthenticator.java
 ##########
 @@ -409,16 +410,23 @@ private static AzureADToken parseTokenFromStream(InputStream httpResponseStream)
             token.setAccessToken(fieldValue);
           }
           if (fieldName.equals("expires_in")) {
-            expiryPeriod = Integer.parseInt(fieldValue);
+            expiryPeriodInSecs = Integer.parseInt(fieldValue);
+          }
 
 Review comment:
   nit : new line

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org