-
Notifications
You must be signed in to change notification settings - Fork 792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjusts whitespace for a code block in AWS instructions. #1237
Conversation
|
||
#. Set the availability zones for the nodes | ||
|
||
For this guide we will be allowing nodes to be deployed in all AZs:: | ||
|
||
export ZONES=$(aws ec2 describe-availability-zones --region $REGION | grep ZoneName | awk '{print $2}' | tr -d '"') | ||
export ZONES=$(echo $ZONES | tr -d " " | rev | cut -c 2- | rev) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean to delete this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think yes from looking at the screenshot you posted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Before this line was removed:
ubuntu@ip-172-31-94-142:~$ echo $ZONES
us-east-1aus-east-1bus-east-1cus-east-1dus-east-1eus-east-1
Without this line:
ubuntu@ip-172-31-94-142:~$ echo $ZONES
us-east-1a us-east-1b us-east-1c us-east-1d us-east-1e us-east-1f
LGTM thanks for your refinements @arokem! For reference, do you understand what problems were caused by the additional processing of the ZONES bash variable, and why we one no longer need to do such processing? |
@consideRatio : see #1237 (comment). That additional line seems to be there to remove white-space between the zone names, but I think we need that white-space. |
Mostly removes a lot of extraneous whitespace. The only "substantial" change is here: