From c7071a12e30f67d1095da0c7f09f75d56d43b4cd Mon Sep 17 00:00:00 2001 From: Lang Martin Date: Fri, 10 May 2019 11:25:04 -0400 Subject: [PATCH] client improve a comment in updateNetworks --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index 8492882d9..cf0a5ab98 100644 --- a/client/client.go +++ b/client/client.go @@ -1299,10 +1299,10 @@ func updateNetworks(ns structs.Networks, up structs.Networks, c *config.Config) upd = append(upd, n) } } + // If updates, use them. Otherwise, ns contains the configured interfaces if len(upd) > 0 { ns = upd } - // Otherwise, ns has the old data } // ns is set, apply the config NetworkSpeed to all