mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-11-01 03:04:02 +08:00
feat: optimize performance
This commit is contained in:
@@ -14,7 +14,7 @@ import (
|
||||
"github.com/wencaiwulue/kubevpn/pkg/util"
|
||||
)
|
||||
|
||||
func Complete(route *Route) error {
|
||||
func Complete(route *core.Route) error {
|
||||
if v, ok := os.LookupEnv(config.EnvInboundPodTunIP); ok && v == "" {
|
||||
namespace := os.Getenv(config.EnvPodNamespace)
|
||||
if namespace == "" {
|
||||
|
||||
Reference in New Issue
Block a user