mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 02:29:33 +08:00
Remotecache: rename setbytearray/getbytearray to set/get and remove codec (#64470)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
This commit is contained in:
@ -615,7 +615,7 @@ func TestMiddlewareContext(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
key := fmt.Sprintf(authproxy.CachePrefix, h)
|
||||
userIdBytes := []byte(strconv.FormatInt(userID, 10))
|
||||
err = sc.remoteCacheService.SetByteArray(context.Background(), key, userIdBytes, 0)
|
||||
err = sc.remoteCacheService.Set(context.Background(), key, userIdBytes, 0)
|
||||
require.NoError(t, err)
|
||||
sc.fakeReq("GET", "/")
|
||||
|
||||
|
Reference in New Issue
Block a user