Skip to content

Commit

Permalink
Merge pull request #753 from zhangzujian/master
Browse files Browse the repository at this point in the history
fix gofmt
  • Loading branch information
oilbeater authored Apr 21, 2021
2 parents 241c4ad + 2efdac9 commit 6591cf8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/controller/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func (c *Controller) handleAddNode(key string) error {
}

ipStr := util.GetStringIP(v4IP, v6IP)
if err := c.ovnClient.CreatePort(c.config.NodeSwitch, portName, ipStr, subnet.Spec.CIDRBlock, mac, "", "", "",false); err != nil {
if err := c.ovnClient.CreatePort(c.config.NodeSwitch, portName, ipStr, subnet.Spec.CIDRBlock, mac, "", "", "", false); err != nil {
return err
}

Expand Down
4 changes: 2 additions & 2 deletions pkg/util/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ const (
IpPoolAnnotationTemplate = "%s.kubernetes.io/ip_pool"
LogicalSwitchAnnotationTemplate = "%s.kubernetes.io/logical_switch"
VlanIdAnnotationTemplate = "%s.kubernetes.io/vlan_id"
VlanRangeAnnotationTemplate = "%s.kubernetes.io/vlan_range"
NetworkTypeTemplate = "%s.kubernetes.io/network_types"
VlanRangeAnnotationTemplate = "%s.kubernetes.io/vlan_range"
NetworkTypeTemplate = "%s.kubernetes.io/network_types"

ExcludeIpsAnnotation = "ovn.kubernetes.io/exclude_ips"

Expand Down

0 comments on commit 6591cf8

Please sign in to comment.