From 82991db7ebcf21c6f9fc39005db5b5f57d2e3c44 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Wed, 2 May 2018 12:28:40 +0100 Subject: [PATCH] Enable s3 and gcs data storage --- cli/setup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/setup.go b/cli/setup.go index 673ac239..4028e0b3 100644 --- a/cli/setup.go +++ b/cli/setup.go @@ -58,7 +58,7 @@ func setup() { } if opts.DB.Path != "memory" { - if ok, _ := regexp.MatchString(`^(logr|file|mysql|dendrodb)://(.+)$`, opts.DB.Path); !ok { + if ok, _ := regexp.MatchString(`^(s3|gcs|logr|file|mysql|dendrodb)://(.+)$`, opts.DB.Path); !ok { log.Fatalf("Invalid path %s. Specify a valid data store configuration path", opts.DB.Path) } }