Commit 26cff80c authored by shiywang's avatar shiywang

fix typo in /pkg/admission/imagepolicy/config.go

parent 4ed86f5d
...@@ -76,7 +76,7 @@ func normalizeConfigDuration(name string, scale, value, min, max, defaultValue t ...@@ -76,7 +76,7 @@ func normalizeConfigDuration(name string, scale, value, min, max, defaultValue t
return time.Duration(0), nil return time.Duration(0), nil
} }
// use defualt with 0 sentinel // use default with 0 sentinel
if value == useDefault { if value == useDefault {
glog.V(2).Infof("image policy webhook %s using default value", name) glog.V(2).Infof("image policy webhook %s using default value", name)
return defaultValue, nil return defaultValue, 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