mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
optimize code
This commit is contained in:
@@ -79,7 +79,7 @@ func prepare() {
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
pod, err := remote.CreateServerOutbound(clientset, namespace, trafficManager.String())
|
||||
pod, err := remote.CreateServerOutbound(clientset, namespace, &trafficManager, k8sCIDR)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user