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
builder_oss_test.go
builder_test.go
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
deprecated.go
deprecated_test.go
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
flags_test.go
flagset.go
golden_test.go
limits.go
limits_windows.go
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
runtime_oss_test.go
runtime_test.go Fix up enterprise version tag. 2022-05-09 10:07:19 -07:00
segment_oss.go
segment_oss_test.go