mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 11:18:16 +00:00
Split proxy and scheduler arguments
Keep options and flags distinct from initialization
This commit is contained in:
@@ -21,6 +21,8 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"k8s.io/kubernetes/cmd/kube-proxy/app/options"
|
||||
"k8s.io/kubernetes/pkg/api"
|
||||
"k8s.io/kubernetes/pkg/util/iptables"
|
||||
)
|
||||
@@ -213,7 +215,7 @@ func Test_getProxyMode(t *testing.T) {
|
||||
func TestProxyServerWithCleanupAndExit(t *testing.T) {
|
||||
|
||||
//creates default config
|
||||
config := NewProxyConfig()
|
||||
config := options.NewProxyConfig()
|
||||
|
||||
//sets CleanupAndExit manually
|
||||
config.CleanupAndExit = true
|
||||
|
||||
Reference in New Issue
Block a user