Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Update kuberneteswindowssetup.ps1 for azure cni to remove redundant c…
Browse files Browse the repository at this point in the history
…ode (#2244)

* enabling azure cni

* remove redundant line
  • Loading branch information
saiyan86 authored and jackfrancis committed Feb 12, 2018
1 parent fe57150 commit 3f92ed4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions parts/k8s/kuberneteswindowssetup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -359,13 +359,6 @@ Update-CNIConfig(`$podCIDR, `$masterSubnetGW)
try
{
if (`$global:NetworkPolicy -eq "azure") {
Write-Host "NetworkPolicy azure, starting kubelet."
$KubeletCommandLine
return 0
}
`$masterSubnetGW = Get-DefaultGateway `$global:MasterSubnet
`$podCIDR=Get-PodCIDR
`$podCidrDiscovered=Test-PodCIDR(`$podCIDR)
Expand Down

0 comments on commit 3f92ed4

Please sign in to comment.