refresh login should check if the current session id is good
sfc-gh-eraigosa opened this issue · comments
Edward Raigosa commented
Lets check if the current session id is good, and if not, refresh the session id with a new login id
https://github.com/HewlettPackard/oneview-golang/blob/master/icsp/auth.go#L74
https://github.com/HewlettPackard/oneview-golang/blob/master/ov/auth.go#L76
Edward Raigosa commented
This causes another side-effect in that docker-machine ls stops working after the original tokens are expired.
Edward Raigosa commented
@miqui been hacking today at google cafe in london, this is first half of the fix for icsp. Will work on ov half if you don't beat me to it first 👯
Edward Raigosa commented
@miqui ok, i was able to quickly update the ov part too... so just need to try this out with some new exe's