Skip to content

Commit 9d6f02a

Browse files
authored
Merge pull request #2601 from k8s-infra-cherrypick-robot/cherry-pick-2599-to-release-1.33
[release-1.33] fix: disable WMI call method on Windows node
2 parents cb6e280 + 55e9b6d commit 9d6f02a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/azurefile/azurefile_options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func (o *DriverOptions) AddFlags() *flag.FlagSet {
8686
fs.BoolVar(&o.AppendNoShareSockOption, "append-nosharesock-option", true, "Whether appending nosharesock option to smb mount command")
8787
fs.BoolVar(&o.AppendNoResvPortOption, "append-noresvport-option", true, "Whether appending noresvport option to nfs mount command")
8888
fs.BoolVar(&o.AppendActimeoOption, "append-actimeo-option", true, "Whether appending actimeo=0 option to nfs mount command")
89-
fs.BoolVar(&o.UseWinCIMAPI, "use-win-cim-api", true, "Whether performing azure file operations using CIM API or Powershell command on Windows node")
89+
fs.BoolVar(&o.UseWinCIMAPI, "use-win-cim-api", false, "Whether performing azure file operations using CIM API or Powershell command on Windows node")
9090
fs.IntVar(&o.SkipMatchingTagCacheExpireInMinutes, "skip-matching-tag-cache-expire-in-minutes", 30, "The cache expire time in minutes for skipMatchingTagCache")
9191
fs.IntVar(&o.VolStatsCacheExpireInMinutes, "vol-stats-cache-expire-in-minutes", 10, "The cache expire time in minutes for volume stats cache")
9292
fs.BoolVar(&o.PrintVolumeStatsCallLogs, "print-volume-stats-call-logs", false, "Whether to print volume statfs call logs with log level 2")

0 commit comments

Comments
 (0)