commit | f8508d000ad628a063e81bbe53615f5d70b15619 | [log] [tgz] |
---|---|---|
author | lizihuai <lizihuai220@gmail.com> | Thu Dec 13 16:49:32 2018 +0800 |
committer | Shawn <xiaoliang.tian@gmail.com> | Thu Dec 13 16:49:32 2018 +0800 |
tree | e51e043ed92e2f8e7b8ec14f10ee86190ab1229b | |
parent | 9eadabcd1100d074e6f8828b3673bb7935b9a56a [diff] |
alter type mismatch (#29)
diff --git a/protocol/dubbo/utils/buffer.go b/protocol/dubbo/utils/buffer.go index d499a4d..f8790c1 100644 --- a/protocol/dubbo/utils/buffer.go +++ b/protocol/dubbo/utils/buffer.go
@@ -113,7 +113,7 @@ if index <= b.capacity { b.wrInd = index } else { - return &BaseError{fmt.Sprintf("Index(%d) over the capacity(%s)", index, b.capacity)} + return &BaseError{fmt.Sprintf("Index(%d) over the capacity(%d)", index, b.capacity)} } return nil }