white space fix

This commit is contained in:
Dietmar Maurer 2019-01-21 10:32:07 +01:00
parent e25736b4c3
commit be0084b001
1 changed files with 2 additions and 2 deletions

View File

@ -174,8 +174,8 @@ impl DataStore {
static ref BACKUP_ID_REGEX: regex::Regex = regex::Regex::new("^[A-Za-z][A-Za-z0-9_-]+$").unwrap(); static ref BACKUP_ID_REGEX: regex::Regex = regex::Regex::new("^[A-Za-z][A-Za-z0-9_-]+$").unwrap();
} }
lazy_static! { lazy_static! {
static ref BACKUP_DATE_REGEX: regex::Regex = regex::Regex::new( static ref BACKUP_DATE_REGEX: regex::Regex = regex::Regex::new(
"^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}$").unwrap(); "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}$").unwrap();
} }
tools::scandir(libc::AT_FDCWD, &path, &BACKUP_TYPE_REGEX, |l0_fd, backup_type, file_type| { tools::scandir(libc::AT_FDCWD, &path, &BACKUP_TYPE_REGEX, |l0_fd, backup_type, file_type| {