mirror of
				https://github.com/redis/go-redis.git
				synced 2025-11-04 02:33:24 +03:00 
			
		
		
		
	@@ -235,6 +235,7 @@ func (c *ClusterClient) slotClosestNode(slot int) (*clusterNode, error) {
 | 
			
		||||
func (c *ClusterClient) cmdSlotAndNode(cmd Cmder) (int, *clusterNode, error) {
 | 
			
		||||
	cmdInfo := c.cmdInfo(cmd.arg(0))
 | 
			
		||||
	if cmdInfo == nil {
 | 
			
		||||
		internal.Logf("info for cmd=%s not found", cmd.arg(0))
 | 
			
		||||
		node, err := c.randomNode()
 | 
			
		||||
		return 0, node, err
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
@@ -550,7 +550,7 @@ func (c *cmdable) Set(key string, value interface{}, expiration time.Duration) *
 | 
			
		||||
 | 
			
		||||
func (c *cmdable) SetBit(key string, offset int64, value int) *IntCmd {
 | 
			
		||||
	cmd := NewIntCmd(
 | 
			
		||||
		"SETBIT",
 | 
			
		||||
		"setbit",
 | 
			
		||||
		key,
 | 
			
		||||
		offset,
 | 
			
		||||
		value,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user