Merge pull request #11482 from cuiyuan/fix-rbcolor-string

pkg/adt: rbcolor string fix
This commit is contained in:
Gyuho Lee 2019-12-30 11:26:07 -08:00 committed by GitHub
commit e6980b1f9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ func (c rbcolor) String() string {
case black:
return "black"
case red:
return "black"
return "red"
default:
panic(fmt.Errorf("unknown color %d", c))
}