Merge pull request #9721 from zhongwencool/fix-elvis-warning

fix: elvis warning
This commit is contained in:
zhongwencool 2023-01-11 17:34:33 +08:00 committed by GitHub
commit fb54f56ad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 31 deletions

View File

@ -71,24 +71,15 @@
%%--------------------------------------------------------------------
create_router_tab(disc) ->
ok = mria:create_table(?ROUTE_DISC_TAB, [
{type, bag},
{rlog_shard, ?ROUTE_SHARD},
{storage, disc_copies},
{record_name, route},
{attributes, record_info(fields, route)},
{storage_properties, [
{ets, [
{read_concurrency, true},
{write_concurrency, true}
]}
]}
]);
create_table(?ROUTE_DISC_TAB, disc_copies);
create_router_tab(ram) ->
ok = mria:create_table(?ROUTE_RAM_TAB, [
create_table(?ROUTE_RAM_TAB, ram_copies).
create_table(Tab, Storage) ->
ok = mria:create_table(Tab, [
{type, bag},
{rlog_shard, ?ROUTE_SHARD},
{storage, ram_copies},
{storage, Storage},
{record_name, route},
{attributes, record_info(fields, route)},
{storage_properties, [

View File

@ -14,8 +14,8 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 5.0.13
version: 5.0.14
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 5.0.13
appVersion: 5.0.14