Skip to content

Commit

Permalink
Merge pull request #2375 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…2371-to-release-1.28

[release-1.28] chore: adjust powershell cmd log level
  • Loading branch information
andyzhangx authored Jun 23, 2024
2 parents 61138fc + 49f53c5 commit cdb9dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/azureutils/azure_disk_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,6 @@ func RunPowershellCmd(command string, envs ...string) ([]byte, error) {

cmd := exec.Command("powershell", "-Mta", "-NoProfile", "-Command", command)
cmd.Env = append(os.Environ(), envs...)
klog.V(8).Infof("Executing command: %q", cmd.String())
klog.V(6).Infof("Executing command: %q", cmd.String())
return cmd.CombinedOutput()
}

0 comments on commit cdb9dc4

Please sign in to comment.