Skip to content

Commit

Permalink
Fix typo in (cache-check-probablity)
Browse files Browse the repository at this point in the history
I was trying to use it as documented here, but there is a typo when used as a config file entry (the cmdline entry seems fine):
https://dune.readthedocs.io/en/stable/caching.html#reproducibility-check

Signed-off-by: Edwin Török <edvin.torok@citrix.com>
  • Loading branch information
edwintorok committed Jul 24, 2020
1 parent 180ba0b commit cbd1f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dune/config.ml
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ let decode =
(Dune_lang.Syntax.since Stanza.syntax (2, 0) >>> Caching.Transport.decode)
~default:default.cache_transport
and+ cache_check_probability =
field "cache-check-probablity"
field "cache-check-probability"
(Dune_lang.Syntax.since Stanza.syntax (2, 0) >>> Dune_lang.Decoder.float)
~default:default.cache_check_probability
and+ cache_duplication =
Expand Down

0 comments on commit cbd1f38

Please sign in to comment.