Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Fix type spec for range field in #shard{}
Add '_' as a valid value for range field to be able to remove complains
when we create ets match spec in mem3_shards:for_shard_name.
  • Loading branch information
iilyak committed May 18, 2016
1 parent 3865451 commit 3a60de689ac25b8e3e5b060faf9a1fb48edc2762
Showing 1 changed file with 2 additions and 2 deletions.
@@ -15,7 +15,7 @@
name :: binary() | '_',
node :: node() | '_',
dbname :: binary(),
range :: [non_neg_integer() | '$1' | '$2'],
range :: [non_neg_integer() | '$1' | '$2'] | '_',
ref :: reference() | 'undefined' | '_'
}).

@@ -24,7 +24,7 @@
name :: binary() | '_',
node :: node() | '_',
dbname :: binary(),
range :: [non_neg_integer() | '$1' | '$2'],
range :: [non_neg_integer() | '$1' | '$2'] | '_',
ref :: reference() | 'undefined' | '_',
order :: non_neg_integer() | 'undefined' | '_'
}).

0 comments on commit 3a60de6

Please sign in to comment.