Files
nomad/command/agent
Seth Hoenig 98db449208 connect: fix bug where absent connect.proxy stanza needs default config
In some refactoring, a bug was introduced where if the connect.proxy
stanza in a submitted job was nil, the default proxy configuration
would not be initialized with default values, effectively breaking
Connect.

      connect {
        sidecar_service {} # should work
      }

In contrast, by setting an empty proxy stanza, the config values would
be inserted correctly.

      connect {
        sidecar_service {
	  proxy {} # workaround
	}
      }

This commit restores the original behavior, where having a proxy
stanza present is not required.

The unit test for this case has also been corrected.
2020-04-01 11:19:32 -06:00
..
2020-01-09 15:15:10 -05:00
2018-03-11 17:43:19 +00:00
2020-03-25 10:53:38 -04:00
2020-03-28 12:01:51 -04:00
2018-03-11 18:35:30 +00:00
2018-10-16 16:56:55 -07:00
2020-03-27 09:35:10 -04:00
2018-09-13 10:43:40 -07:00
2020-02-16 16:04:59 -06:00
2018-09-13 10:43:40 -07:00
2018-09-13 10:43:40 -07:00
2018-02-15 13:59:02 -08:00
2019-01-22 15:44:31 -08:00
2019-01-22 15:44:31 -08:00
2020-03-02 13:47:43 -05:00