Commit 25d03520 authored by Vy Ta's avatar Vy Ta

remove key from toleration

parent f150874e
...@@ -123,7 +123,6 @@ func createTestPod(f *framework.Framework, image string, os string) *v1.Pod { ...@@ -123,7 +123,6 @@ func createTestPod(f *framework.Framework, image string, os string) *v1.Pod {
if os == linuxOS { if os == linuxOS {
pod.Spec.Tolerations = []v1.Toleration{ pod.Spec.Tolerations = []v1.Toleration{
{ {
Key: "key",
Operator: v1.TolerationOpExists, Operator: v1.TolerationOpExists,
Effect: v1.TaintEffectNoSchedule, Effect: v1.TaintEffectNoSchedule,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment