Skip to content
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

Merged
merged 3 commits into from
Apr 16, 2019

Conversation

arokem
Copy link
Contributor

@arokem arokem commented Apr 15, 2019

Mostly removes a lot of extraneous whitespace. The only "substantial" change is here:

Screen Shot 2019-04-15 at 11 12 16 AM


#. 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)
Copy link
Member

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?

Copy link
Member

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.

Copy link
Contributor Author

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

@consideRatio
Copy link
Member

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?

@betatim betatim merged commit 03127a9 into jupyterhub:master Apr 16, 2019
@arokem
Copy link
Contributor Author

arokem commented Apr 17, 2019

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants