From 845c344231280edc16c3e6a1ab65b97eb623134c Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 7 Jun 2022 18:20:51 +0200 Subject: Inform user of what DB engine Garage is running on --- src/db/sled_adapter.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/db/sled_adapter.rs') diff --git a/src/db/sled_adapter.rs b/src/db/sled_adapter.rs index fb9353f0..982f8d82 100644 --- a/src/db/sled_adapter.rs +++ b/src/db/sled_adapter.rs @@ -58,6 +58,10 @@ impl SledDb { } impl IDb for SledDb { + fn engine(&self) -> String { + "Sled".into() + } + fn open_tree(&self, name: &str) -> Result { let mut trees = self.trees.write().unwrap(); if let Some(i) = trees.1.get(name) { -- cgit v1.2.3