Files
nomad/command/agent
Michael Schurter 7ae2291572 Improve invalid port error message for services
Related to #3681

If a user specifies an invalid port *label* when using
address_mode=driver they'll get an error message about the label being
an invalid number which is very confusing.

I also added a bunch of testing around Service.AddressMode validation
since I was concerned by the linked issue that there were cases I was
missing. Unfortunately when address_mode=driver is used there's only so
much validation that can be done as structs/structs.go validation never
peeks into the driver config which would be needed to verify the port
labels/map.
2018-01-18 15:35:24 -08:00
..
2017-11-02 11:27:21 -07:00
2015-12-04 17:12:47 -08:00
2017-10-13 13:12:20 -07:00
2017-10-13 13:12:20 -07:00
2017-12-11 17:30:37 -08:00
2017-11-02 11:27:21 -07:00
2017-07-20 09:36:34 -07:00
2017-10-13 14:36:02 -07:00
2016-10-17 10:48:04 -07:00
2017-07-20 09:36:34 -07:00
2015-08-16 13:54:49 -07:00
2017-07-20 09:36:34 -07:00
2017-09-26 15:26:33 -07:00
2017-10-23 18:38:36 -07:00
2017-09-13 19:21:21 +00:00
2017-07-20 09:36:34 -07:00
2017-09-07 17:04:21 -07:00
2017-07-20 09:36:34 -07:00
2017-09-07 17:04:21 -07:00
2017-07-20 09:36:34 -07:00
2015-09-06 18:39:03 -07:00
2017-09-19 10:08:23 -05:00
2017-07-20 09:36:34 -07:00
2017-07-20 09:36:34 -07:00