*: unify type of key and rangeEnd in AuthRoleRevokePermissionRequest

Fix https://github.com/coreos/etcd/issues/9424
This commit is contained in:
Hitoshi Mitake
2018-03-14 14:06:28 +09:00
parent c5417939b6
commit 752963beea
6 changed files with 266 additions and 260 deletions

View File

@@ -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)