mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #11482 from cuiyuan/fix-rbcolor-string
pkg/adt: rbcolor string fix
This commit is contained in:
commit
e6980b1f9f
@ -42,7 +42,7 @@ func (c rbcolor) String() string {
|
|||||||
case black:
|
case black:
|
||||||
return "black"
|
return "black"
|
||||||
case red:
|
case red:
|
||||||
return "black"
|
return "red"
|
||||||
default:
|
default:
|
||||||
panic(fmt.Errorf("unknown color %d", c))
|
panic(fmt.Errorf("unknown color %d", c))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user