mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-02 14:51:58 +00:00
pkg/util: move flags from pkg/util/config to pkg/util/flags
This commit is contained in:
@@ -26,7 +26,7 @@ import (
|
||||
"github.com/golang/glog"
|
||||
"github.com/kardianos/osext"
|
||||
|
||||
utilconfig "k8s.io/kubernetes/pkg/util/config"
|
||||
utilflag "k8s.io/kubernetes/pkg/util/flag"
|
||||
"k8s.io/kubernetes/test/e2e/framework"
|
||||
)
|
||||
|
||||
@@ -119,7 +119,7 @@ func (e *E2EServices) Stop() {
|
||||
func RunE2EServices() {
|
||||
// Populate global DefaultFeatureGate with value from TestContext.FeatureGates.
|
||||
// This way, statically-linked components see the same feature gate config as the test context.
|
||||
utilconfig.DefaultFeatureGate.Set(framework.TestContext.FeatureGates)
|
||||
utilflag.DefaultFeatureGate.Set(framework.TestContext.FeatureGates)
|
||||
e := newE2EServices()
|
||||
if err := e.run(); err != nil {
|
||||
glog.Fatalf("Failed to run e2e services: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user