From c93f7ffa44b294ceef242700dce3288eb8569ced Mon Sep 17 00:00:00 2001 From: chrislu Date: Thu, 21 Jul 2022 18:23:53 -0700 Subject: explicit bucket aware declaration --- weed/filer/postgres2/postgres2_store.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'weed/filer/postgres2/postgres2_store.go') diff --git a/weed/filer/postgres2/postgres2_store.go b/weed/filer/postgres2/postgres2_store.go index 0f573d8d0..3c57e4cb4 100644 --- a/weed/filer/postgres2/postgres2_store.go +++ b/weed/filer/postgres2/postgres2_store.go @@ -17,6 +17,8 @@ const ( CONNECTION_URL_PATTERN = "host=%s port=%d sslmode=%s connect_timeout=30" ) +var _ filer.BucketAware = (*PostgresStore2)(nil) + func init() { filer.Stores = append(filer.Stores, &PostgresStore2{}) } -- cgit v1.2.3