Skip to content

Issue550#551

Closed
Neetuj wants to merge 3 commits into
softlayer:masterfrom
Neetuj:issue550
Closed

Issue550#551
Neetuj wants to merge 3 commits into
softlayer:masterfrom
Neetuj:issue550

Conversation

@Neetuj
Copy link
Copy Markdown
Member

@Neetuj Neetuj commented May 14, 2015

This will correct the argument issue( which is causing the name confusion)
From UI perspective I think it should be ip rather than ip_address ( too long for an argument name to type)

I also catch the case when ip_record is null before referencing it. Should i throw an error if its not found ?

@sudorandom
Copy link
Copy Markdown
Contributor

@Neetuj yeah, it is weird that an ip address is required but it looks like it tries to go on without finding a ip record anyway.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.07%) to 86.15% when pulling 8427c43 on Neetuj:issue550 into efb3865 on softlayer:master.

@landscape-bot
Copy link
Copy Markdown

Code Health
Code quality remained the same when pulling 8427c43 on Neetuj:issue550 into efb3865 on softlayer:master.

Comment thread SoftLayer/CLI/loadbal/service_add.py Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There should be a space before and after the > sign.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ahh ... Thnx

Sent from my iPhone

On May 14, 2015, at 5:30 PM, sudorandom notifications@github.com wrote:

In SoftLayer/CLI/loadbal/service_add.py:

     ip_service = env.client['Network_Subnet_IpAddress']
  •    ip_record = ip_service.getByIpAddress(ip_address)
    
  •    ip_address_id = ip_record['id']
    
  •    ip_record = ip_service.getByIpAddress(ip)
    
  •    if len(ip_record)>0:
    
    There should be a space before and after the > sign.


Reply to this email directly or view it on GitHub.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.07%) to 86.15% when pulling 9ce8c32 on Neetuj:issue550 into efb3865 on softlayer:master.

@landscape-bot
Copy link
Copy Markdown

Code Health
Code quality remained the same when pulling 9ce8c32 on Neetuj:issue550 into efb3865 on softlayer:master.

@sudorandom
Copy link
Copy Markdown
Contributor

The tests have been fixed in master. Please rebase in order to get the changes:

git pull --rebase upsteam master

@sudorandom
Copy link
Copy Markdown
Contributor

Closed in favor of #562

@sudorandom sudorandom closed this Jun 6, 2015
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.

4 participants