style95 commented on code in PR #5291:
URL: https://github.com/apache/openwhisk/pull/5291#discussion_r929516592


##########
core/scheduler/src/main/scala/org/apache/openwhisk/core/scheduler/Scheduler.scala:
##########
@@ -389,6 +389,24 @@ case class SchedulerStates(sid: SchedulerInstanceId, 
queueSize: Int, endpoints:
   def getSchedulerId(): SchedulerInstanceId = sid
 
   def serialize = SchedulerStates.serdes.write(this).compactPrint
+
+  def canEqual(a: Any) = a.isInstanceOf[SchedulerStates]
+
+  override def equals(that: Any): Boolean =
+    that match {
+      case that: SchedulerStates => {
+        that.canEqual(this) &&

Review Comment:
   Updated.
   



-- 
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: issues-unsubscr...@openwhisk.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to