File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2617,7 +2617,7 @@ def redis_cli
26172617 name
26182618 else
26192619 # Rely on Reclaim the Stack's sentinel based approach without operator
2620- sentinel_pod_yaml = read_kubectl ( "get pods -l redis.reclaim-the-stack.com/cluster=#{ redis_cluster } -l redis.reclaim-the-stack.com/component=sentinel --field-selector=status.phase=Running -o yaml" )
2620+ sentinel_pod_yaml = read_kubectl ( "get pods -l redis.reclaim-the-stack.com/cluster=#{ redis_cluster } , redis.reclaim-the-stack.com/component=sentinel --field-selector=status.phase=Running -o yaml" )
26212621
26222622 sentinel_pod = YAML . safe_load ( sentinel_pod_yaml ) . dig ( "items" , 0 , "metadata" , "name" )
26232623 abort "Error: no sentinel pod found for '#{ redis_cluster } '" unless sentinel_pod
@@ -2702,7 +2702,7 @@ def redis_failover
27022702 end
27032703 else
27042704 # Rely on Reclaim the Stack's sentinel based approach without operator
2705- sentinel_pod_yaml = read_kubectl ( "get pods -l redis.reclaim-the-stack.com/cluster=#{ redis_cluster } -l redis.reclaim-the-stack.com/component=sentinel --field-selector=status.phase=Running -o yaml" )
2705+ sentinel_pod_yaml = read_kubectl ( "get pods -l redis.reclaim-the-stack.com/cluster=#{ redis_cluster } , redis.reclaim-the-stack.com/component=sentinel --field-selector=status.phase=Running -o yaml" )
27062706 abort "Error: no sentinel pod found for #{ redis_cluster } " if sentinel_pod_yaml . empty?
27072707
27082708 sentinel_pod = YAML . safe_load ( sentinel_pod_yaml ) . dig ( "items" , 0 , "metadata" , "name" )
You can’t perform that action at this time.
0 commit comments