commit | 45de516f4571e4bdc9e0f7007f31e37d6857cc67 | [log] [tgz] |
---|---|---|
author | Nick Vatamaniuc <vatamane@gmail.com> | Wed Apr 14 02:44:35 2021 -0400 |
committer | Nick Vatamaniuc <nickva@users.noreply.github.com> | Fri Apr 16 17:44:43 2021 -0400 |
tree | ee1be87f3af69ab6d28ffd96979150dc0667293a | |
parent | 5b3983994bf293cd8fb50b7bcc93baa5d3d800dc [diff] |
Clean up database name validation in fabric2_db `normalize_dbname/1` is not needed as database names do not have the `.couch` suffix, and we don't have shard paths any more. For validation, send the `DbName` to the `fabric2_db_plugin` as both the real DbName and the "normalized" one. This is mostly to avoid changing the plugin interface for now and should be eventually updated (in a separate PR).