Skip to content

Commit a081bde

Browse files
backjoJonah Back
authored andcommitted
Update helpers_test.go
Signed-off-by: Jonah Back <[email protected]>
1 parent 2bc7141 commit a081bde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/provisioners/eks/helpers_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ func TestGetBasicUserDataWindowsWithInjectionDisabled(t *testing.T) {
304304
[string]$Lifecycle=(curl -UseBasicParsing -Method GET "http://169.254.169.254/latest/meta-data/autoscaling/target-lifecycle-state" -H @{ "X-aws-ec2-metadata-token" = "$IMDSToken"} | % { Echo $_.Content})
305305
if ($Lifecycle -like "*Warmed*") {
306306
Echo "Not starting Kubelet due to warmed state."
307-
& C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\InitializeInstance.ps1 Schedule
307+
& C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\InitializeInstance.ps1 -Schedule
308308
} else {
309309
& $EKSBootstrapScriptFile -EKSClusterName foo -KubeletExtraArgs '--node-labels=foo=bar,instancemgr.keikoproj.io/image=ami-123456789012,node.kubernetes.io/role=instance-group-1 --register-with-taints=foo=bar:NoSchedule --eviction-hard=memory.available<300Mi,nodefs.available<5% --system-reserved=memory=2.5Gi --v=2 --max-pods=4' 3>&1 4>&1 5>&1 6>&1
310310
bar

0 commit comments

Comments
 (0)