Linter fixes PR 3 (#4415)
* Linter fixes * fix(bsr): update test to register TEST protocol once --------- Co-authored-by: Damian Debkowski <damian.debkowski@hashicorp.com>
This commit is contained in:
1 parent
e95eda7ca2
commit
35cef97bd4
119 files changed
+365
-300
No files matched your search
@@ -45,7 +45,7 @@ func TestCliAuthenticatePrimary(t *testing.T) {
|
||||
|
||||
// Get last line from output (authentication response)
|
||||
var buf bytes.Buffer
|
||||
io.Copy(&buf, f)
|
||||
_, _ = io.Copy(&buf, f)
|
||||
parts := strings.Split(strings.TrimSpace(buf.String()), "\r\n")
|
||||
response := parts[len(parts)-1]
|
||||
|
||||
|
||||
Reference in new issue
Block a user