Fixed a silly bug.
parent
7393225029
commit
a6638727cc
|
@ -256,7 +256,7 @@ func (o *commonOp) Context() context.Context {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (o *commonOp) respondErr(err error) {
|
func (o *commonOp) respondErr(err error) {
|
||||||
if err != nil {
|
if err == nil {
|
||||||
panic("Expect non-nil here.")
|
panic("Expect non-nil here.")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue