Skip to content

Commit 0b62a2c

Browse files
Merge pull request #4329 from eslutsky/USHIFT-5217
USHIFT-5217: when ovn.yaml file empty the default is overridden with nil
2 parents 917e48e + fb19f96 commit 0b62a2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/config/ovn/ovn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func newOVNKubernetesConfigFromFile(path string, multinode bool) (*OVNKubernetes
9898
return nil, err
9999
}
100100

101-
err = yaml.Unmarshal(buf, &o)
101+
err = yaml.Unmarshal(buf, o)
102102
if err != nil {
103103
return nil, fmt.Errorf("parsing OVNKubernetes config: %v", err)
104104
}

0 commit comments

Comments
 (0)