Skip to content

Commit

Permalink
added rn
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Aug 22, 2023
1 parent 767a027 commit 2b54e3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/rn/0.44.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@ Read more about this feature in the [Certificates Management](../manual/cert.md#

* fixing CLAB_INTFS env var #1547
* fixing node filtering functionality #1549
* fixing ovs bridges and openflow 1.3 #1539
4 changes: 2 additions & 2 deletions nodes/ovs/ovs.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ func (n *ovs) CheckDeploymentConditions(_ context.Context) error {
)

// We were previously doing c.VSwitch.Get.Bridge() but it doesn't work
// when the bridge has a propotocol version higher than 1.0
// when the bridge has a protocol version higher than 1.0
// So listing the bridges is safer
bridges, err := c.VSwitch.ListBridges()
if err != nil {
return fmt.Errorf("error while looking for ovs bridge %q: %v", n.Cfg.ShortName, err)
return fmt.Errorf("error while listing ovs bridges: %v", err)
}
if !slices.Contains(bridges, n.Cfg.ShortName) {
return fmt.Errorf("could not find ovs bridge %q", n.Cfg.ShortName)
Expand Down

0 comments on commit 2b54e3b

Please sign in to comment.