We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac5f05b commit bc3f6c1Copy full SHA for bc3f6c1
cluster/gce/windows/k8s-node-setup.psm1
@@ -1608,7 +1608,7 @@ function Configure_Containerd {
1608
# Register if needed and start containerd service.
1609
function Start_Containerd {
1610
# Do the registration only if the containerd service does not exist.
1611
- if (Get-WMIObject -Class Win32_Service -Filter "Name='containerd'" -eq $null) {
+ if ((Get-WMIObject -Class Win32_Service -Filter "Name='containerd'") -eq $null) {
1612
Log-Output "Creating containerd service"
1613
& containerd.exe --register-service --log-file "${env:LOGS_DIR}/containerd.log"
1614
}
0 commit comments