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

DEVOPS-7811: added logging of instance names #36

Closed
wants to merge 1 commit into from
Closed

DEVOPS-7811: added logging of instance names #36

wants to merge 1 commit into from

Conversation

nz285
Copy link
Contributor

@nz285 nz285 commented Sep 7, 2016

Changed ip_dict[instance.id] value from a string to a tuple. Since that function is only used in logging, nothing else needs to change.

@coveralls
Copy link

coveralls commented Sep 7, 2016

Coverage Status

Coverage increased (+0.09%) to 96.875% when pulling 97cd885 on nz285:DEVOPS-7811 into 087b4e5 on dandb:master.


def format_instance_name(self, ip):
region_short = 'aw1' if self.regions_conf == 'us-west-1' else 'ae1'
ip_end = ip.split(".")[3]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ip_end = ip.split(".")[-1] might make more sense

@banderon1
Copy link
Contributor

+1, minor comment

@coveralls
Copy link

coveralls commented Oct 4, 2016

Coverage Status

Coverage increased (+0.08%) to 97.059% when pulling 90a3b01 on nz285:DEVOPS-7811 into 9cd9126 on dandb:master.

@vmadura
Copy link

vmadura commented Oct 13, 2016

Instead of formatting instance name by amazon convention, better to fetch the name from aws .

@nz285 nz285 closed this Mar 28, 2017
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.

None yet

4 participants