From 4e6b3169139d643a16217a3e2c12667b6b0bf7d6 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 18 Dec 2020 02:17:06 -0800 Subject: [PATCH] assert FilerStoreWrapper is VirtualFilerStore --- weed/filer/filerstore.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/weed/filer/filerstore.go b/weed/filer/filerstore.go index 4b28c3021..5716f704c 100644 --- a/weed/filer/filerstore.go +++ b/weed/filer/filerstore.go @@ -16,6 +16,8 @@ var ( ErrUnsupportedListDirectoryPrefixed = errors.New("unsupported directory prefix listing") ErrKvNotImplemented = errors.New("kv not implemented yet") ErrKvNotFound = errors.New("kv: not found") + + _ = VirtualFilerStore(&FilerStoreWrapper{}) ) type FilerStore interface {