fix a comment

This commit is contained in:
iamqizhao
2015-03-05 01:46:30 -08:00
parent 10f29ffc09
commit 59cf05b4f5

View File

@ -189,7 +189,6 @@ func Code(err error) codes.Code {
}
// Errorf returns an error containing an error code and a description;
// Code extracts the Code.
// Errorf returns nil if c is OK.
func Errorf(c codes.Code, format string, a ...interface{}) error {
if c == codes.OK {