We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1af37ee + 4726e69 commit a940dc3Copy full SHA for a940dc3
src/main/java/cws/k8s/scheduler/model/NodeWithAlloc.java
@@ -198,10 +198,7 @@ public boolean equals(Object o) {
198
199
@Override
200
public int hashCode() {
201
- int result = super.hashCode();
202
- result = 31 * result + (getMaxResources() != null ? getMaxResources().hashCode() : 0);
203
- result = 31 * result + (getAssignedPods() != null ? getAssignedPods().hashCode() : 0);
204
- return result;
+ return this.getName().hashCode();
205
}
206
207
public boolean isReady(){
0 commit comments