Parcourir la source

fix: stuct name typo (#2458)

Co-authored-by: tanghuafa <tanghuafa@bytedance.com>
Blizard il y a 3 ans
Parent
commit
3dd888a9ea
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pkg/plugin/client/http2https.go

+ 1 - 1
pkg/plugin/client/http2https.go

@@ -60,7 +60,7 @@ func NewHTTP2HTTPSPlugin(params map[string]string) (Plugin, error) {
 
 	listener := NewProxyListener()
 
-	p := &HTTPS2HTTPPlugin{
+	p := &HTTP2HTTPSPlugin{
 		localAddr:         localAddr,
 		hostHeaderRewrite: hostHeaderRewrite,
 		headers:           headers,