This is an automated email from the ASF dual-hosted git repository.
tokers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 957bef0 chore: remove unused consumer.id (#3868)
957bef0 is described below
commit 957bef0783626af0e3305d95098d36312343e276
Author: 罗泽轩 <[email protected]>
AuthorDate: Sun Mar 21 19:14:12 2021 +0800
chore: remove unused consumer.id (#3868)
Signed-off-by: spacewander <[email protected]>
---
apisix/schema_def.lua | 2 --
t/node/grpc-proxy.t | 2 --
2 files changed, 4 deletions(-)
diff --git a/apisix/schema_def.lua b/apisix/schema_def.lua
index 9d89e9a..bb76523 100644
--- a/apisix/schema_def.lua
+++ b/apisix/schema_def.lua
@@ -589,8 +589,6 @@ _M.consumer = {
create_time = timestamp_def,
update_time = timestamp_def,
desc = desc_def,
- -- deprecate fields, will be removed soon
- id = id_schema,
},
required = {"username"},
additionalProperties = false,
diff --git a/t/node/grpc-proxy.t b/t/node/grpc-proxy.t
index e8241ac..c4338e7 100644
--- a/t/node/grpc-proxy.t
+++ b/t/node/grpc-proxy.t
@@ -71,7 +71,6 @@ proxy request to 127.0.0.1:9088
--- apisix_yaml
consumers:
- username: jack
- id: jack
plugins:
key-auth:
key: user-key
@@ -123,7 +122,6 @@ proxy request to 127.0.0.1:9088
--- apisix_yaml
consumers:
- username: jack
- id: jack
plugins:
key-auth:
key: user-key