mikelangelo-project / osv-microservice-demo

Simple Node.js Microservice application use to demonstrate the use of OSv and Capstan
13 stars 1 forks source link

Allow workers to fetch keyvaluestore endpoint from ENV #3

Closed miha-plesko closed 7 years ago

miha-plesko commented 7 years ago

Workers get endpoint as a script argument which does not fit into our runtime: node specification :) Fixed this by fetching endpoint from environment variable MICRO_KEYVALUESTORE_ENDOPOINT when script argument is not passed.

miha-plesko commented 7 years ago

Thanks for the review @gberginc, I've applied your comments. I decided to fix all the <tab> vs <space> issues on-the-fly in this PR since there are so little of them.

miha-plesko commented 7 years ago

All green here, but I want purple!