Fix bug in error output message

This commit is contained in:
Tobie Morgan Hitchcock 2017-11-16 19:49:14 +00:00
parent e401ff9b3f
commit 4320804779

View file

@ -56,7 +56,7 @@ func setup() {
if opts.DB.Path != "memory" { if opts.DB.Path != "memory" {
if ok, _ := regexp.MatchString(`^(s3|gcs|logr|file|rixxdb|dendrodb)://(.+)$`, opts.DB.Path); !ok { if ok, _ := regexp.MatchString(`^(s3|gcs|logr|file|rixxdb|dendrodb)://(.+)$`, opts.DB.Path); !ok {
log.Fatal("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)
} }
} }