open-nomad/command/agent/consul
Luiz Aoqui bb2395031b
client: fix Consul version finterprint (#17349)
Consul v1.13.8 was released with a breaking change in the /v1/agent/self
endpoint version where a line break was being returned.

This caused the Nomad finterprint to fail because `NewVersion` errors on
parse.

This commit removes any extra space from the Consul version returned by
the API.
2023-05-30 11:07:57 -04:00
..
acl_testing.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
catalog_testing.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
config_entries_testing.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
connect.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
connect_proxies.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
connect_proxies_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
connect_proxies_testing.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
connect_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
group_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
int_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
namespaces_client.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
namespaces_client_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
self.go client: fix Consul version finterprint (#17349) 2023-05-30 11:07:57 -04:00
self_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
service_client.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
service_client_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
structs.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
testing.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
unit_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
version_checker.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
version_checker_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00