diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-02-07 17:59:53 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-02-07 18:42:52 +0200 |
commit | 5b863edb32314808b6823f90c03ad97da6fdbcbf (patch) | |
tree | d85c9fd74f19ecc150e10edd38f7cc1222a0d1d7 /src/policy.rs | |
parent | 73a9ca3d90ac393b7b8575199a3fcce855374136 (diff) | |
download | obnam2-5b863edb32314808b6823f90c03ad97da6fdbcbf.tar.gz |
refactor: rename Reason::Error to Reason::GenerationLookupError
New name is more precise. The meaning of the enum variant hasn't changed.
Diffstat (limited to 'src/policy.rs')
-rw-r--r-- | src/policy.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy.rs b/src/policy.rs index 032b851..8a65e09 100644 --- a/src/policy.rs +++ b/src/policy.rs @@ -42,7 +42,7 @@ impl BackupPolicy { "needs_backup: lookup in old generation returned error, ignored: {:?}: {}", new_name, err ); - Reason::Error + Reason::GenerationLookupError } }; debug!( |