Skip to content

Commit 4a9df03

Browse files
committed
switch from implicit to explicit string
1 parent 6e00028 commit 4a9df03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/consul.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func NewConsulMon(addr string) (*ConsulMon, error) {
5353

5454
func (c *ConsulMon) queryServices() ([]*App, error) {
5555
var apps []*App
56-
stale := ""
56+
var stale string
5757
if os.Getenv(allowStale) == "true" {
5858
stale = "stale"
5959
}

0 commit comments

Comments
 (0)