Enable s3 and gcs data storage
This commit is contained in:
parent
9983d2aa84
commit
82991db7eb
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ func setup() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if opts.DB.Path != "memory" {
|
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)
|
log.Fatalf("Invalid path %s. Specify a valid data store configuration path", opts.DB.Path)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue