git-hulk commented on code in PR #332:
URL: 
https://github.com/apache/kvrocks-controller/pull/332#discussion_r2250244112


##########
store/slot.go:
##########
@@ -49,6 +49,13 @@ type MigratingSlot struct {
        IsMigrating bool
 }
 
+func (migratingSlot *MigratingSlot) String() string {
+       if migratingSlot == nil {
+               return ""
+       }
+       return strconv.Itoa(migratingSlot.Start) + "-" + 
strconv.Itoa(migratingSlot.Stop)
+}

Review Comment:
   ```suggestion
   func (migratingSlot *MigratingSlot) String() string {
        if migratingSlot == nil {
                return ""
        }
        return migratingSlot.SlotRange.String()
   }
   ```



-- 
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]

Reply via email to