Skip to content

Commit 48f4f1e

Browse files
author
andrew
committed
remove testing code
1 parent ffcdbea commit 48f4f1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/ecs-functions

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ ecs-services() {
5252
# check for input that isn't a valid cluster name and use it as a regex...
5353
if [[ -z "$cluster_names" || "$(aws ecs describe-clusters --clusters $cluster_names --query "failures[].reason" --output text)" == "MISSING" ]]; then
5454
echo "cluster not found, using input to search"
55-
cluster_names=$(ecs-clusters2 $cluster_names |skim-stdin)
55+
cluster_names=$(ecs-clusters $cluster_names |skim-stdin)
5656
if [[ -z "$cluster_names" ]]; then
5757
echo "no matching cluster, using input as a service filter"
58-
cluster_names=$(ecs-clusters2 |skim-stdin)
58+
cluster_names=$(ecs-clusters |skim-stdin)
5959
service_filter=$filter
6060
fi
6161
fi
@@ -119,7 +119,7 @@ ecs-tasks() {
119119

120120
local filter=$(skim-stdin "$@")
121121

122-
for cluster_name in $(ecs-clusters2 |skim-stdin); do
122+
for cluster_name in $(ecs-clusters |skim-stdin); do
123123
#echo "cluster_name=$cluster_name"
124124
# TODO: remove the account bit from the task definition, ie print gc3-test1-public:27 instead of arn:aws:ecs:ap-southeast-2:167642850091:task-definition/gc3-test1-public:27
125125
aws ecs describe-tasks \

0 commit comments

Comments
 (0)