Fix bug in error output message
This commit is contained in:
parent
e401ff9b3f
commit
4320804779
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue