Dzeri96 commented on code in PR #54336:
URL: https://github.com/apache/spark/pull/54336#discussion_r2813198946
##########
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/ExecutorPodsAllocator.scala:
##########
@@ -499,8 +499,8 @@ class ExecutorPodsAllocator(
// Find one with the same storage class and size.
val index = reusablePVCs.indexWhere { p =>
p.getSpec.getStorageClassName == pvc.getSpec.getStorageClassName &&
- p.getSpec.getResources.getRequests.get("storage") ==
- pvc.getSpec.getResources.getRequests.get("storage")
+ p.getSpec.getResources.getRequests.get("storage")
Review Comment:
Good idea. I changed the old comment.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]