mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
fix typo in /pkg/admission/imagepolicy/config.go
This commit is contained in:
@@ -76,7 +76,7 @@ func normalizeConfigDuration(name string, scale, value, min, max, defaultValue t
|
||||
return time.Duration(0), nil
|
||||
}
|
||||
|
||||
// use defualt with 0 sentinel
|
||||
// use default with 0 sentinel
|
||||
if value == useDefault {
|
||||
glog.V(2).Infof("image policy webhook %s using default value", name)
|
||||
return defaultValue, nil
|
||||
|
Reference in New Issue
Block a user