Skip to content

Commit

Permalink
fix gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzujian committed Apr 21, 2021
1 parent 241c4ad commit 2efdac9
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 2efdac9

Please sign in to comment.