mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
changes to the fatal message generated
Signed-off-by: Dipankar Das <dipankardas0115@gmail.com>
This commit is contained in:
parent
526b4b4ce2
commit
50bc46bd8f
@ -252,11 +252,11 @@ func setupTestCommon(t *testing.T, compiler ValidatorCompiler, shouldStartInform
|
||||
features.ValidatingAdmissionPolicy: {
|
||||
Default: true, PreRelease: featuregate.Alpha}})
|
||||
if err != nil {
|
||||
t.Fatalf("Unable to add featureGate with Release as Alpha")
|
||||
t.Fatalf("Unable to add feature gate: %v", err)
|
||||
}
|
||||
err = featureGate.SetFromMap(map[string]bool{string(features.ValidatingAdmissionPolicy): true})
|
||||
if err != nil {
|
||||
t.Fatalf("Unable to Set key ValidateAdmissionPolicy to the Alpha featureGate")
|
||||
t.Fatalf("Unable to store flag gate: %v", err)
|
||||
}
|
||||
|
||||
plug, err := NewPlugin()
|
||||
|
Loading…
Reference in New Issue
Block a user