From 2e2a1e02ca9334bfb41d52e824e912b29c8a114b Mon Sep 17 00:00:00 2001 From: Mark Beacom Date: Thu, 13 Sep 2018 12:59:31 -0400 Subject: [PATCH] Remove dead code from remove_ip --- ops/scripts/remove_ip.bash | 2 -- 1 file changed, 2 deletions(-) diff --git a/ops/scripts/remove_ip.bash b/ops/scripts/remove_ip.bash index 02a68cbe664..fa61836590c 100755 --- a/ops/scripts/remove_ip.bash +++ b/ops/scripts/remove_ip.bash @@ -14,5 +14,3 @@ echo "Removing IP: $WAN_IP to AWS SG: $GC_SG_ID - Port: $GC_SSH_PORT - Protocol: aws ec2 revoke-security-group-ingress --group-id "$GC_SG_ID" \ --ip-permissions='[{"IpProtocol": "'"$GC_SSH_PROTO"'", "FromPort": '"$GC_SSH_PORT"', "ToPort": '"$GC_SSH_PORT"', "IpRanges": [{"CidrIp": "'"$WAN_IP"'"}]}]' echo "Removed!" - -# --ip-permissions IpProtocol="$GC_SSH_PROTO",FromPort="$GC_SSH_PORT",ToPort="$GC_SSH_PORT",IpRanges=" [{CidrIp=$WAN_IP/32}]"