yext / edward

A tool for managing local microservice instances
http://engblog.yext.com/edward/
MIT License
171 stars 32 forks source link

Make getState return a single state instead of a slice. #159

Closed bubg-dev closed 6 years ago

bubg-dev commented 6 years ago

the getStates function only ever returns nil or a slice with one item in it which seems like we should just return a pointer then.

theothertomelliott commented 6 years ago

This was originally intended to allow for running multiple instances of a single service, but it never came to fruition. YAGNI, I guess.