Revert "cleanup: decrease log level from warn to v3"

This reverts commit ebece49936e635f151fdd8a64fa2b77fd183e817.
This commit is contained in:
José Guilherme Vanz 2020-07-20 09:28:21 -03:00
parent 9b9dcf3d84
commit 08ccbe6f0e
No known key found for this signature in database
GPG Key ID: 53CE8868950F3638

View File

@ -46,7 +46,7 @@ func SetVolumeOwnership(mounter Mounter, fsGroup *int64, fsGroupChangePolicy *v1
fsGroupPolicyEnabled := utilfeature.DefaultFeatureGate.Enabled(features.ConfigurableFSGroupPolicy)
klog.V(3).Infof("Setting volume ownership for %s and fsGroup set. If the volume has a lot of files then setting volume ownership could be slow, see https://github.com/kubernetes/kubernetes/issues/69699", mounter.GetPath())
klog.Warningf("Setting volume ownership for %s and fsGroup set. If the volume has a lot of files then setting volume ownership could be slow, see https://github.com/kubernetes/kubernetes/issues/69699", mounter.GetPath())
// This code exists for legacy purposes, so as old behaviour is entirely preserved when feature gate is disabled
// TODO: remove this when ConfigurableFSGroupPolicy turns GA.