[#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:
Airat Arifullin 2024-02-20 11:58:33 +03:00
parent d9f523ee07
commit 43c90af97d
2 changed files with 2 additions and 2 deletions

View file

@ -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 |
*/

View file

@ -24,7 +24,7 @@ const (
const (
mappingKeyPrefix = 'm'
counterKey = "counter"
counterKey = "Counter"
)
const (