You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sk...@apache.org on 2022/10/20 07:42:58 UTC

[ignite] branch master updated: IGNITE-17860 Fixed example for compare-and-swap. Fixes #10321

This is an automated email from the ASF dual-hosted git repository.

sk0x50 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 7da012c7b57 IGNITE-17860 Fixed example for compare-and-swap. Fixes #10321
7da012c7b57 is described below

commit 7da012c7b577fd48a927e3f0c540e7535fc28d83
Author: IgGusev <de...@mail.ru>
AuthorDate: Thu Oct 20 10:42:38 2022 +0300

    IGNITE-17860 Fixed example for compare-and-swap. Fixes #10321
    
    Signed-off-by: Slava Koptilin <sl...@gmail.com>
---
 docs/_docs/restapi.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/_docs/restapi.adoc b/docs/_docs/restapi.adoc
index 5bd630bbcd4..b92d5bd0300 100644
--- a/docs/_docs/restapi.adoc
+++ b/docs/_docs/restapi.adoc
@@ -826,7 +826,7 @@ Stores a given key-value pair in a cache only if the previous value is equal to
 +
 [source,shell]
 ----
-https://[host]:[port]/ignite?cmd=authenticate&ignite.login=[user]&ignite.password=[password]
+http://host:port/ignite?cmd=cas&key=casKey&val=newValue&val2=expectedValue&cacheName={cacheName}&destId={nodeId}
 ----
 +
 [{request_table_props}]