Skip to content

Commit

Permalink
chore: remove unused consumer.id (#3868)
Browse files Browse the repository at this point in the history
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
  • Loading branch information
spacewander authored Mar 21, 2021
1 parent 1064e2d commit 957bef0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions apisix/schema_def.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 0 additions & 2 deletions t/node/grpc-proxy.t
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 957bef0

Please sign in to comment.