Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
aparnasuresh85 committed Dec 6, 2024
1 parent fce0b7d commit 182b449
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@ private ClusterState fetchClusterState(SolrClient client, Map<String, Object> cl
private DocCollection getDocCollectionFromObjects(
String collectionName, Map<String, Object> collStateMap, int zNodeVersion) {

Long creationTimeMillisFromClusterStatus = (Long) collStateMap.get("creationTimeMillis");
Long creationTimeMillis = (Long) collStateMap.get("creationTimeMillis");
Instant creationTime =
creationTimeMillisFromClusterStatus == null
creationTimeMillis == null
? Instant.EPOCH
: Instant.ofEpochMilli(creationTimeMillisFromClusterStatus);
: Instant.ofEpochMilli(creationTimeMillis);
return fillPrs(collectionName, collStateMap, creationTime, zNodeVersion);
}

Expand Down

0 comments on commit 182b449

Please sign in to comment.