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 <[email protected]>
AuthorDate: Thu Oct 14 09:04:30 2021 +0800
fix nil issue for timeout filter. (#278)
Co-authored-by: randy <[email protected]>
Co-authored-by: Mark4z <[email protected]>
---
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 {