#1074 - fixed issue with config setup#1084
Merged
allmightyspiff merged 5 commits intosoftlayer:masterfrom Nov 28, 2018
Merged
Conversation
…ntered to try getting API credentials, also added priceIds to slcli order item-list
acamacho82
suggested changes
Nov 28, 2018
Contributor
acamacho82
left a comment
There was a problem hiding this comment.
I couldn't reproduce the errors reported before but it seems that not all commands work as with the XMLRPC endpoint, for example:
REST:
$ slcli image list --private
:....:......:......:............:.........:
: id : name : type : visibility : account :
:....:......:......:............:.........:
:....:......:......:............:.........:
XMLRPC:
$ slcli image list --private
:.........:...............................................:...........:............:.........:
: id : name : type : visibility : account :
:.........:...............................................:...........:............:.........:
: 11111111: AJCB-TESTIMPO01 : ISO Image : Private : ####### :
: 2222222 : AJCB-VSI54786469-localdisk : System : Private : ####### :
: 3333333 : Ajcb0Image1111111111 : System : Private : ####### :
: 3333333 : Ajcb0Image2A2A2A : System : Private : ####### :
: 4444444 : Ajcb0Image3D3D3D3D : None : Private : ####### :
: 5555555 : testTemplate : System : Private : ####### :
:.........:...............................................:...........:............:.........:
Member
Author
|
To generate this error, on the master branch, your config needs to have the rest endpoint set.
|
Contributor
|
sorry, I wanted to say I tested your fix and I couldn't reproduce that errors again. I think this can be merged once the failed unittest has been fixed |
acamacho82
approved these changes
Nov 28, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
slcli config setupwould error out if the endpoint you selected was not xmlrpc, or if you had an exiting endpoint that was REST and picked xmlrpc.This change should fix that.
fixes #1074