Open pyseed opened 5 years ago
oh yes I forgot about this limitation. If I remember I choose to do that to avoid to recalculate the md5 part of the project name (cf https://github.com/mlfmonde/cluster/blob/master/consul/consul_watcher_deployer/handler.py#L120-L124 which was added to avoid conflict between projects/volumes) while searching an entry in the k/v store without the need to searching in values. We may require to do that exact match looking in values instead keys only.
Regards,
as branch/md5 is separated by dot '.' with have just to find by branch + '.'
use case:
Notes: consulates kv.find search by prefix, so better to search by exact matching
Note2: cluster handler seems not to use find, good news !