File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,7 @@ func NewAPIServerCommand() *cobra.Command {
71
71
_ , featureGate := featuregate .DefaultComponentGlobalsRegistry .ComponentGlobalsOrRegister (
72
72
featuregate .DefaultKubeComponent , utilversion .DefaultBuildEffectiveVersion (), utilfeature .DefaultMutableFeatureGate )
73
73
s := options .NewServerRunOptions ()
74
- ctx := genericapiserver .SetupSignalContext ()
75
-
74
+ ctx := genericapiserver .SetupSignalContextNotExiting ()
76
75
cmd := & cobra.Command {
77
76
Use : "kube-apiserver" ,
78
77
Long : `The Kubernetes API server validates and configures data
@@ -158,7 +157,7 @@ cluster's shared state through which all other components interact.`,
158
157
},
159
158
}
160
159
161
- cmd .SetContext (genericapiserver . SetupSignalContextNotExiting () )
160
+ cmd .SetContext (ctx )
162
161
163
162
fs := cmd .Flags ()
164
163
namedFlagSets := s .Flags ()
You can’t perform that action at this time.
0 commit comments