mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
*: unify type of key and rangeEnd in AuthRoleRevokePermissionRequest
Fix https://github.com/coreos/etcd/issues/9424
This commit is contained in:
@@ -364,8 +364,8 @@ func TestRoleRevokePermission(t *testing.T) {
|
||||
|
||||
_, err = as.RoleRevokePermission(&pb.AuthRoleRevokePermissionRequest{
|
||||
Role: "role-test-1",
|
||||
Key: "Keys",
|
||||
RangeEnd: "RangeEnd",
|
||||
Key: []byte("Keys"),
|
||||
RangeEnd: []byte("RangeEnd"),
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user