Kyle Schochenmaier
bf0f61a878
removes ioutil usage everywhere which was deprecated in go1.16 ( #15297 )
...
* update go version to 1.18 for api and sdk, go mod tidy
* removes ioutil usage everywhere which was deprecated in go1.16 in favour of io and os packages. Also introduces a lint rule which forbids use of ioutil going forward.
Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>
2022-11-10 10:26:01 -06:00
Mark Anderson
61a8995847
Fix issue with consul version tests
...
Signed-off-by: Mark Anderson <manderson@hashicorp.com>
2022-06-09 17:04:05 -07:00
Mark Anderson
8945b68a9d
Cleanup and extend basic build date
...
Signed-off-by: Mark Anderson <manderson@hashicorp.com>
2022-06-09 17:04:05 -07:00
Alvin Huang
dd9f5928fc
add v to version pretty formatter ( #8341 )
...
* add v to version pretty formatter
* remove v from json version output
2020-07-20 17:43:10 -04:00
Matt Keeler
680ac0c1c6
Add Revision to version CLI output and add JSON support
...
Also add JSON format support
2020-07-08 16:32:46 -04:00
R.B. Boyer
ffb9c7d6f7
acl: remove the deprecated `acl_enforce_version_8` option ( #7991 )
...
Fixes #7292
2020-05-29 16:16:03 -05:00
Frank Schroeder
1b026de1db
commands: run all tests in parallel (again)
2017-10-18 00:08:45 +02:00
Frank Schroeder
56b24d3d4f
commands: cleanup help and synopsis.
...
* move Help and Synopsis to bottom
* make help and synopsis constants
* make sure help output is formatted
2017-10-18 00:08:45 +02:00
Frank Schroeder
d54a5ef8d8
commands: do not run cmd tests in parallel
...
Package level parallelization is sufficient.
2017-10-18 00:08:45 +02:00
Frank Schroeder
3acbc278f0
commands: move version command to separate pkg
2017-10-18 00:08:45 +02:00