diff --git a/pkg/nex/allocator.go b/pkg/nex/allocator.go index 7c6b2dc..9eb61a2 100644 --- a/pkg/nex/allocator.go +++ b/pkg/nex/allocator.go @@ -33,7 +33,9 @@ func (v *Conn) AllocResource(t AllocatableResourceType) any { return resp.Endpoints case AllocatableResourceCache: conn := v.GetNexusGrpcConn() - resp, err := proto.NewAllocatorServiceClient(conn).AllocCache(context.Background(), &proto.AllocCacheRequest{}) + resp, err := proto.NewAllocatorServiceClient(conn).AllocCache(context.Background(), &proto.AllocCacheRequest{ + Db: 0, + }) if err != nil || !resp.IsSuccess { return nil }