switch from implicit to explicit string

This commit is contained in:
chuckyz
2020-01-30 13:23:13 -08:00
parent 6e00028410
commit 4a9df038fb

View File

@@ -53,7 +53,7 @@ func NewConsulMon(addr string) (*ConsulMon, error) {
func (c *ConsulMon) queryServices() ([]*App, error) { func (c *ConsulMon) queryServices() ([]*App, error) {
var apps []*App var apps []*App
stale := "" var stale string
if os.Getenv(allowStale) == "true" { if os.Getenv(allowStale) == "true" {
stale = "stale" stale = "stale"
} }