You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by zt...@apache.org on 2021/10/14 01:04:35 UTC
[dubbo-go-pixiu] branch develop updated: fix nil issue for timeout
filter. (#278)
This is an automated email from the ASF dual-hosted git repository.
ztelur pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu.git
The following commit(s) were added to refs/heads/develop by this push:
new 8cb296a fix nil issue for timeout filter. (#278)
8cb296a is described below
commit 8cb296aea8a264dd95d1479a96409d1c14b4da3d
Author: Jason Zhang <aw...@gmail.com>
AuthorDate: Thu Oct 14 09:04:30 2021 +0800
fix nil issue for timeout filter. (#278)
Co-authored-by: randy <zt...@gmail.com>
Co-authored-by: Mark4z <36...@users.noreply.github.com>
---
pkg/filter/timeout/timeout.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/filter/timeout/timeout.go b/pkg/filter/timeout/timeout.go
index 9ad54a9..844b096 100644
--- a/pkg/filter/timeout/timeout.go
+++ b/pkg/filter/timeout/timeout.go
@@ -98,7 +98,7 @@ func (f *Filter) Handle(hc *contexthttp.HttpContext) {
}
func (f *Filter) Config() interface{} {
- return nil
+ return f.cfg.Timeout
}
func (f *Filter) Apply() error {