Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 374f99c

Browse files
authored
Merge pull request #21 from mrostecki/cniovs-err-check
cniovs: Add missing error check
2 parents b6e6618 + 852d11b commit 374f99c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: cniovs/cniovs/cniovs.go

+3
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ func (cniOvs CniOvs) AddOnHost(conf *usrsptypes.NetConf, args *skel.CmdArgs, ipR
8686
if len(ipResult.IPs) != 0 {
8787
}
8888
}
89+
if err != nil {
90+
return err
91+
}
8992

9093
//
9194
// Save Config - Save Create Data for Delete

0 commit comments

Comments
 (0)