replace strings for store prefix (#1465)
Co-authored-by: ben-toogood <bentoogood@gmail.com>
This commit is contained in:
parent
cd3d704aa5
commit
e1bc0f6288
@ -315,6 +315,7 @@ func (s *sqlStore) configure() error {
|
|||||||
return errors.New("error compiling regex for namespace")
|
return errors.New("error compiling regex for namespace")
|
||||||
}
|
}
|
||||||
namespace = reg.ReplaceAllString(namespace, "_")
|
namespace = reg.ReplaceAllString(namespace, "_")
|
||||||
|
prefix = reg.ReplaceAllString(prefix, "_")
|
||||||
|
|
||||||
source := s.options.Nodes[0]
|
source := s.options.Nodes[0]
|
||||||
// check if it is a standard connection string eg: host=%s port=%d user=%s password=%s dbname=%s sslmode=disable
|
// check if it is a standard connection string eg: host=%s port=%d user=%s password=%s dbname=%s sslmode=disable
|
||||||
|
Loading…
Reference in New Issue
Block a user