storage/file: Call FileID::new() to build FileID object

This commit is contained in:
Matthias Beyer 2015-12-02 13:42:42 +01:00
parent 8ddfb090b4
commit 557187fbd7

View file

@ -291,7 +291,7 @@ impl<'a> File<'a> {
fn get_new_file_id() -> FileID {
use uuid::Uuid;
Uuid::new_v4().to_hyphenated_string()
FileID::new(FileIDType::UUID, Uuid::new_v4().to_hyphenated_string())
}
}