Skip to content

Commit

Permalink
remove unnecessary func
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <[email protected]>
  • Loading branch information
rleungx authored and ti-chi-bot committed Jul 31, 2024
1 parent 2bbea7f commit afd18a9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/schedule/labeler/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,6 @@ type KeyRangeRule struct {
EndKeyHex string `json:"end_key"` // hex format end key, for marshal/unmarshal
}

func (r *KeyRangeRule) String() string {
return fmt.Sprintf("startKey: %s, endKey: %s", r.StartKeyHex, r.EndKeyHex)
}

// LabelRulePatch is the patch to update the label rules.
// NOTE: This type is exported by HTTP API. Please pay more attention when modifying it.
type LabelRulePatch struct {
Expand Down

0 comments on commit afd18a9

Please sign in to comment.