We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b6887e3 + eadacaf commit 5bd88c8Copy full SHA for 5bd88c8
cluster/gce/windows/k8s-node-setup.psm1
@@ -1084,7 +1084,7 @@ $STACKDRIVER_ROOT = 'C:\Program Files (x86)\Stackdriver'
1084
# `Restart-Service StackdriverLogging` may fail because StackdriverLogging
1085
# sometimes is unstoppable, so we work around it by killing the processes.
1086
function Restart-StackdriverLoggingAgent {
1087
- Stop-Service -NoWait StackdriverLogging
+ Stop-Service -NoWait -ErrorAction Ignore StackdriverLogging
1088
# TODO: check periodically to lower the wait time
1089
Start-Sleep 10
1090
if ((Get-service StackdriverLogging).Status -ne 'Stopped') {
0 commit comments