open-consul/agent/config
Mark Anderson be059184dd Fix up enterprise version tag.
Changes to how the version string was handled created small regression with the release of consul 1.12.0 enterprise.

Many tools use the Config:Version field reported by the agent/self resource to determine whether Consul is an enterprise or OSS instance, expect something like 1.12.0+ent for enterprise and simply 1.12.0 for OSS. This was accidentally broken during the runup to 1.12.x

This work fixes the value returned by both the self endpoint in ["Config"]["Version"] and the metrics consul.version field.

Signed-off-by: Mark Anderson <manderson@hashicorp.com>
2022-05-09 10:07:19 -07:00
..
testdata Fix up enterprise version tag. 2022-05-09 10:07:19 -07:00
agent_limits.go
builder.go Fix up enterprise version tag. 2022-05-09 10:07:19 -07:00
builder_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
builder_oss_test.go Rename `master` and `agent_master` ACL tokens in the config file format (#11665) 2021-12-01 21:08:14 +00:00
builder_test.go polish rpc.service.call metric behavior (#12624) 2022-03-31 10:49:37 -07:00
config.go Fix up enterprise version tag. 2022-05-09 10:07:19 -07:00
config_oss.go Fixup acl.EnterpriseMeta 2022-04-05 15:11:49 -07:00
default.go Fix up enterprise version tag. 2022-05-09 10:07:19 -07:00
default_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
deprecated.go agent: convert listener config to TLS types (#12522) 2022-03-24 15:32:25 -04:00
deprecated_test.go agent: convert listener config to TLS types (#12522) 2022-03-24 15:32:25 -04:00
doc.go
file_watcher.go add a rate limiter to config auto-reload (#12490) 2022-04-04 11:31:39 -04:00
file_watcher_test.go add a rate limiter to config auto-reload (#12490) 2022-04-04 11:31:39 -04:00
flags.go auto-reload configuration when config files change (#12329) 2022-03-31 15:11:49 -04:00
flags_test.go
flagset.go
golden_test.go
limits.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
limits_windows.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
merge.go
merge_test.go
ratelimited_file_watcher.go add a rate limiter to config auto-reload (#12490) 2022-04-04 11:31:39 -04:00
ratelimited_file_watcher_test.go add a rate limiter to config auto-reload (#12490) 2022-04-04 11:31:39 -04:00
runtime.go Fix up enterprise version tag. 2022-05-09 10:07:19 -07:00
runtime_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
runtime_oss_test.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
runtime_test.go Fix up enterprise version tag. 2022-05-09 10:07:19 -07:00
segment_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
segment_oss_test.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00