mirror of https://github.com/hashicorp/consul
346b68a441
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> |
||
---|---|---|
.. | ||
testdata | ||
agent_limits.go | ||
builder.go | ||
builder_oss.go | ||
builder_oss_test.go | ||
builder_test.go | ||
config.go | ||
config_oss.go | ||
default.go | ||
default_oss.go | ||
deprecated.go | ||
deprecated_test.go | ||
doc.go | ||
file_watcher.go | ||
file_watcher_test.go | ||
flags.go | ||
flags_test.go | ||
flagset.go | ||
golden_test.go | ||
limits.go | ||
limits_windows.go | ||
merge.go | ||
merge_test.go | ||
ratelimited_file_watcher.go | ||
ratelimited_file_watcher_test.go | ||
runtime.go | ||
runtime_oss.go | ||
runtime_oss_test.go | ||
runtime_test.go | ||
segment_oss.go | ||
segment_oss_test.go |