You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "An-DJ (via GitHub)" <gi...@apache.org> on 2023/02/15 01:38:52 UTC
[GitHub] [apisix] An-DJ commented on a diff in pull request #8855: fix(admin): fix wrong http code for patch method
An-DJ commented on code in PR #8855:
URL: https://github.com/apache/apisix/pull/8855#discussion_r1106559345
##########
apisix/core/etcd.lua:
##########
@@ -507,7 +507,7 @@ function _M.atomic_set(key, value, ttl, mod_revision)
key = key,
value = value,
}
- res.status = 201
+ res.status = 200
Review Comment:
IMHO yes. Only the PATCH method uses this function now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org