Skip to content

Commit

Permalink
fix comment goof
Browse files Browse the repository at this point in the history
Signed-off-by: Brian L. Troutwine <[email protected]>
  • Loading branch information
blt committed Nov 5, 2024
1 parent f47fafd commit 7d4f26d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lading/src/generator/file_gen/logrotate_fs/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1212,10 +1212,10 @@ mod test {
// Property 8: Rotated files have bytes_written within acceptable range
//
// For a rotated file (read_only == true), bytes_written should be
// within (max_bytes_per_file - bytes_per_tick) <= bytes_written <
// (max_bytes_per_file + 2 * bytes_per_tick). It's possible because of
// when rotation is done that a full tick will elapse, allowing an
// additional tick worth of bytes to be written, hence the 2x.
// within max_bytes_per_file <= bytes_written < (max_bytes_per_file + 2
// * bytes_per_tick). It's possible because of when rotation is done
// that a full tick will elapse, allowing an additional tick worth of
// bytes to be written, hence the 2x.
for node in state.nodes.values() {
if let Node::File { file } = node {
if !file.read_only {
Expand Down

0 comments on commit 7d4f26d

Please sign in to comment.