refactor: fix modernize lint issues (#5215)
This commit is contained in:
committed by
GitHub
Unverified
parent
017d71717f
commit
c2454e7114
+1
-1
@@ -24,7 +24,7 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
RegisterProxyFactory(reflect.TypeOf(&v1.TCPProxyConfig{}), NewTCPProxy)
|
||||
RegisterProxyFactory(reflect.TypeFor[*v1.TCPProxyConfig](), NewTCPProxy)
|
||||
}
|
||||
|
||||
type TCPProxy struct {
|
||||
|
||||
Reference in New Issue
Block a user