Commit 054d98f8 authored by Alex Robinson's avatar Alex Robinson

Merge pull request #21788 from derekwaynecarr/limit_range_flake

Fix flake in LimitRange e2e
parents 2b13bc47 4858b484
......@@ -74,6 +74,11 @@ func (l *limitRanger) Admit(a admission.Attributes) (err error) {
return nil
}
// ignore all calls that do not deal with pod resources since that is all this supports now.
if a.GetKind() != api.Kind("Pod") {
return nil
}
obj := a.GetObject()
name := "Unknown"
if obj != nil {
......
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