[#78] policy: Fix counter key prefix name
DCO action / DCO (pull_request) Successful in 4m32s Details
Tests / Tests (1.19) (pull_request) Successful in 4m42s Details
Tests / Tests (1.20) (pull_request) Successful in 4m44s Details

* Fix counterKey: "counter" may conflict with 'c' prefix.

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
pull/80/head v0.19.0
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 (