Skip to content

Commit 05da205

Browse files
authored
Cleanup leftover mess (#246)
* Fix formatting Signed-off-by: Petr Horáček <[email protected]> * Remove leftover redundant key Signed-off-by: Petr Horáček <[email protected]> Signed-off-by: Petr Horáček <[email protected]>
1 parent c0829c0 commit 05da205

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

examples/ovs-cni.yml

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ spec:
3535
- name: ovs-cni-plugin
3636
image: quay.io/kubevirt/ovs-cni-plugin:latest
3737
command: ["/bin/sh","-c"]
38-
args:
3938
args:
4039
- >
4140
cp /ovs /host/opt/cni/bin/ovs &&

manifests/ovs-cni.yml.in

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ spec:
3535
- name: ovs-cni-plugin
3636
image: ${OVS_CNI_PLUGIN_IMAGE_REPO}/${OVS_CNI_PLUGIN_IMAGE_NAME}:${OVS_CNI_PLUGIN_IMAGE_VERSION}
3737
command: ["/bin/sh","-c"]
38-
args:
3938
args:
4039
- >
4140
cp /ovs /host${CNI_MOUNT_PATH}/ovs &&

pkg/types/types.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ type NetConf struct {
3333
VlanTag *uint `json:"vlan"`
3434
MTU int `json:"mtu"`
3535
Trunk []*Trunk `json:"trunk,omitempty"`
36-
DeviceID string `json:"deviceID"` // PCI address of a VF in valid sysfs format
37-
OfportRequest uint `json:"ofport_request"` // OpenFlow port number in range 1 to 65,279
36+
DeviceID string `json:"deviceID"` // PCI address of a VF in valid sysfs format
37+
OfportRequest uint `json:"ofport_request"` // OpenFlow port number in range 1 to 65,279
3838
ConfigurationPath string `json:"configuration_path"`
3939
SocketFile string `json:"socket_file"`
4040
LinkStateCheckRetries int `json:"link_state_check_retries"`

0 commit comments

Comments
 (0)