Skip to content

Commit 470d6d1

Browse files
committed
fixup! fixup! CP-54444: Return MAC addresses to host installer
Signed-off-by: Ming Lu <[email protected]>
1 parent 6c56907 commit 470d6d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ocaml/networkd/bin_db/networkd_db.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ let _ =
4848
Either.Right name
4949
in
5050
match (config.interface_order, ifaces) with
51-
| Some order, ifaces ->
51+
| Some order, _ :: _ ->
5252
let oks, errs = List.partition_map (to_mac ~order) ifaces in
5353
if errs = [] then
5454
Ok oks
@@ -57,7 +57,7 @@ let _ =
5757
(Printf.sprintf "Could not find MAC address(es) for %s"
5858
(String.concat ", " errs)
5959
)
60-
| None, [] ->
60+
| _, [] ->
6161
(* No ifaces, no hwaddrs. *)
6262
Ok []
6363
| None, _ :: _ ->

0 commit comments

Comments
 (0)