Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyanker committed Jan 2, 2021
1 parent e8c4ee0 commit 12cf140
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/daemon/ovs.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ func configureContainerNic(nicName, ifName string, ipAddr, gateway string, macAd
return fmt.Errorf("config gateway failed %v", err)
}

return waiteNetworkReady(gateway)
return waitNetworkReady(gateway)
})
}

func waiteNetworkReady(gateway string) error {
func waitNetworkReady(gateway string) error {
for _, gw := range strings.Split(gateway, ",") {
pinger, err := goping.NewPinger(gw)
if err != nil {
Expand Down

0 comments on commit 12cf140

Please sign in to comment.