Skip to content

Commit fb19f96

Browse files
committed
when ovn.yaml file empty the default is overrided with nil
Signed-off-by: Evgeny Slutsky <[email protected]>
1 parent dd7309a commit fb19f96

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)