The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
dcf8828165
When using AtomicPut with 'previous' set at nil, it interprets that the Key should be created with the AtomicPut. Instead of returning a generic error, we return store.ErrKeyExists if the key exists in the store during the operation. Signed-off-by: Alexandre Beslic <abronan@docker.com> |
||
---|---|---|
libnetwork/internal/kvstore |