cli: refactor operator debug capture (#11466)

* debug: refactor Consul API collection
* debug: refactor Vault API collection
* debug: cleanup test timing
* debug: extend test to multiregion
* debug: save cmdline flags in bundle
* debug: add cli version to output
* Add changelog entry
This commit is contained in:
Dave May
2021-11-05 19:43:10 -04:00
committed by GitHub
parent 84888390f7
commit 6ede4b9285
5 changed files with 392 additions and 114 deletions

View File

@@ -130,7 +130,7 @@ func NewTestVaultFromPath(t testing.T, binary string) *TestVault {
}
// NewTestVault returns a new TestVault instance that has yet to be started
// NewTestVault returns a new TestVault instance that is ready for API calls
func NewTestVault(t testing.T) *TestVault {
// Lookup vault from the path
return NewTestVaultFromPath(t, "vault")