Fix minor typos and copy-pastos

This commit is contained in:
Heikki Linnakangas
2021-04-07 16:39:37 +03:00
parent 3fea78d688
commit 6b9fc3aff0
8 changed files with 11 additions and 11 deletions

View File

@@ -113,7 +113,7 @@ lazy_static! {
pub static ref PAGECACHES: Mutex<HashMap<u64, Arc<PageCache>>> = Mutex::new(HashMap::new());
}
pub fn get_pagecahe(conf: PageServerConf, sys_id: u64) -> Arc<PageCache> {
pub fn get_pagecache(conf: PageServerConf, sys_id: u64) -> Arc<PageCache> {
let mut pcaches = PAGECACHES.lock().unwrap();
if !pcaches.contains_key(&sys_id) {