sureshanaparti opened a new issue, #147:
URL: https://github.com/apache/cloudstack-cloudmonkey/issues/147

   There should be some validation (atleast null/empty checks, invalid urls) 
for the values set through the set cmd in cli.
   
   Checked (in cmd 6.3.0 / 6.4.0 RC1) with some empty values for profile and 
url, these are updated without any errors and the cmds after that doesn't work.
   
   ```
   (cmk) 🐱 > set profile
   Loaded in-built API cache. Failed to read API cache, please run 'sync'.
   Loaded server profile: 
   Url:         
   Username:    
   Domain:      
   API Key:     
   Total APIs:  754
   
   (cmk) 🐱 > list hosts details=min
   Please provide either apikey/secretkey or username/password to make an API 
call
   🙈 Error: failed to authenticate to make API call
   ```
   
   ```
   (cmk) 🐱 > set url
   (cmk) 🐱 > list hosts details=min
   🙈 Error: Get 
"?apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=listHosts&details=min&response=json&signature=kwv%2FgM82BQpTrmw9byW97agy7lQ%3D":
 unsupported protocol scheme ""
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to