File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,15 +84,15 @@ declare -a search_strategy=(
8484)
8585
8686function list_all_replica_pods_current_node {
87- get_pods " labelSelector=${CLUSTER_NAME_LABEL} %3D${SCOPE} ,spilo-role%3Dreplica&fieldSelector=spec.nodeName%3D${CURRENT_NODENAME} " | head -n 1
87+ get_pods " labelSelector=${CLUSTER_NAME_LABEL} %3D${SCOPE} ,spilo-role%3Dreplica&fieldSelector=spec.nodeName%3D${CURRENT_NODENAME} " | tee | head -n 1
8888}
8989
9090function list_all_replica_pods_any_node {
91- get_pods " labelSelector=${CLUSTER_NAME_LABEL} %3D${SCOPE} ,spilo-role%3Dreplica" | head -n 1
91+ get_pods " labelSelector=${CLUSTER_NAME_LABEL} %3D${SCOPE} ,spilo-role%3Dreplica" | tee | head -n 1
9292}
9393
9494function get_master_pod {
95- get_pods " labelSelector=${CLUSTER_NAME_LABEL} %3D${SCOPE} ,spilo-role%3Dmaster" | head -n 1
95+ get_pods " labelSelector=${CLUSTER_NAME_LABEL} %3D${SCOPE} ,spilo-role%3Dmaster" | tee | head -n 1
9696}
9797
9898CURRENT_NODENAME=$( get_current_pod | jq .items[].spec.nodeName --raw-output)
You can’t perform that action at this time.
0 commit comments