Skip to content

Commit

Permalink
Merge branch 'policy_' of github.com:robur-coop/mollymawk into policy_
Browse files Browse the repository at this point in the history
  • Loading branch information
PizieDust committed Oct 1, 2024
2 parents 1fcf02b + 0819340 commit 02d21d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions albatross_json.ml
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,9 @@ let policy_of_json js =
(String.split_on_char ',' bridges));
}
in
match Vmm_core.Policy.usable policy with
| Ok () -> Ok policy
| Error (`Msg err) -> Error (`Msg err))
let ( let* ) = Result.bind in
let* () = Vmm_core.Policy.usable policy in
Ok policy
| _ ->
Error
(`Msg
Expand Down

0 comments on commit 02d21d5

Please sign in to comment.