diff options
author | Daniil Baturin <daniil@vyos.io> | 2025-04-08 15:09:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-08 15:09:45 +0100 |
commit | 61566db58d2b5f8eacbd1564ba1ae0690ac4b1f6 (patch) | |
tree | 47ccceb8e72c4a02ceb282a0c5db7e06c93baaf8 /src/vyconf_client.ml | |
parent | 0fb5e2f781725196ae010cf64e4d185a8f5ce721 (diff) | |
parent | eeb758f406f0cc27ab7863dc17eec00c24f2c0b6 (diff) | |
download | vyconf-master.tar.gz vyconf-master.zip |
T7302: add backend support for commit dry-run
Diffstat (limited to 'src/vyconf_client.ml')
-rw-r--r-- | src/vyconf_client.ml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vyconf_client.ml b/src/vyconf_client.ml index 1f00f29..7380760 100644 --- a/src/vyconf_client.ml +++ b/src/vyconf_client.ml @@ -135,7 +135,9 @@ let delete client path = | _ -> Error (Option.value resp.error ~default:"") |> Lwt.return let commit client = - let req = Commit {confirm=None; confirm_timeout=None; comment=None;} in + let req = + Commit {confirm=None; confirm_timeout=None; comment=None; dry_run=None} + in let%lwt resp = do_request client req in match resp.status with | Success -> Ok (Option.value resp.output ~default:"") |> Lwt.return |