Skip to content

Commit 0a4f3f6

Browse files
committed
Repair syntax error in Windows-GCE startup script
1 parent d6b42f0 commit 0a4f3f6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

cluster/gce/windows/k8s-node-setup.psm1

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1216,14 +1216,16 @@ function Verify-WorkerServices {
12161216
Log_Todo "run more verification commands."
12171217
}
12181218

1219-
# Downloads crictl.exe and installs it in $env:NODE_DIR.
1219+
# Downloads the Windows crictl package and installs its contents (e.g.
1220+
# crictl.exe) in $env:NODE_DIR.
12201221
function DownloadAndInstall-Crictl {
12211222
if (-not (ShouldWrite-File ${env:NODE_DIR}\crictl.exe)) {
12221223
return
12231224
}
1224-
$CRI_TOOLS_GCS_BUCKET = "k8s-artifacts-cri-tools"
1225-
$url = ('https://storage.googleapis.com/$CRI_TOOLS_GCS_BUCKET/release/' +
1226-
$CRICTL_VERSION + '/crictl-' + $CRICTL_VERSION + '-windows-amd64.tar.gz')
1225+
$CRI_TOOLS_GCS_BUCKET = 'k8s-artifacts-cri-tools'
1226+
$url = ('https://storage.googleapis.com/' + $CRI_TOOLS_GCS_BUCKET +
1227+
'/release/' + $CRICTL_VERSION + '/crictl-' + $CRICTL_VERSION +
1228+
'-windows-amd64.tar.gz')
12271229
MustDownload-File `
12281230
-URLs $url `
12291231
-OutFile ${env:NODE_DIR}\crictl.tar.gz `

0 commit comments

Comments
 (0)