[#78] policy: Fix counter key prefix name
* Fix counterKey: "counter" may conflict with 'c' prefix. Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
parent
d9f523ee07
commit
43c90af97d
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
| 'c' + uint16(len(container)) + container | []byte | Namespace chain |
|
||||
| 'n' + uint16(len(namespace)) + namespace | []byte | Container chain |
|
||||
| 'm' + entity name (namespace/container) | []byte | Mapped name to an encoded number |
|
||||
| 'counter' | uint64 | Integer counter used for mapping |
|
||||
| 'Counter' | uint64 | Integer counter used for mapping |
|
||||
|
||||
*/
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ const (
|
|||
|
||||
const (
|
||||
mappingKeyPrefix = 'm'
|
||||
counterKey = "counter"
|
||||
counterKey = "Counter"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
Loading…
Reference in a new issue