Skip to content

Commit

Permalink
Cleanup leftover mess (#246)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
phoracek authored Sep 27, 2022
1 parent c0829c0 commit 05da205
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion examples/ovs-cni.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ spec:
- name: ovs-cni-plugin
image: quay.io/kubevirt/ovs-cni-plugin:latest
command: ["/bin/sh","-c"]
args:
args:
- >
cp /ovs /host/opt/cni/bin/ovs &&
Expand Down
1 change: 0 additions & 1 deletion manifests/ovs-cni.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ spec:
- name: ovs-cni-plugin
image: ${OVS_CNI_PLUGIN_IMAGE_REPO}/${OVS_CNI_PLUGIN_IMAGE_NAME}:${OVS_CNI_PLUGIN_IMAGE_VERSION}
command: ["/bin/sh","-c"]
args:
args:
- >
cp /ovs /host${CNI_MOUNT_PATH}/ovs &&
Expand Down
4 changes: 2 additions & 2 deletions pkg/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ type NetConf struct {
VlanTag *uint `json:"vlan"`
MTU int `json:"mtu"`
Trunk []*Trunk `json:"trunk,omitempty"`
DeviceID string `json:"deviceID"` // PCI address of a VF in valid sysfs format
OfportRequest uint `json:"ofport_request"` // OpenFlow port number in range 1 to 65,279
DeviceID string `json:"deviceID"` // PCI address of a VF in valid sysfs format
OfportRequest uint `json:"ofport_request"` // OpenFlow port number in range 1 to 65,279
ConfigurationPath string `json:"configuration_path"`
SocketFile string `json:"socket_file"`
LinkStateCheckRetries int `json:"link_state_check_retries"`
Expand Down

0 comments on commit 05da205

Please sign in to comment.