mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
mvcc: remove unnecessary type conversion
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
e714dd01b3
commit
bc18474029
@ -227,7 +227,7 @@ func TestWatchDeleteRange(t *testing.T) {
|
||||
}
|
||||
|
||||
w := s.NewWatchStream()
|
||||
from, to := []byte(testKeyPrefix), []byte(fmt.Sprintf("%s_%d", testKeyPrefix, 99))
|
||||
from, to := testKeyPrefix, []byte(fmt.Sprintf("%s_%d", testKeyPrefix, 99))
|
||||
w.Watch(0, from, to, 0)
|
||||
|
||||
s.DeleteRange(from, to)
|
||||
|
Loading…
x
Reference in New Issue
Block a user