rados: naming conventions: fixes in TestMonCommandWithInputBuffer

Fix up variable names that don't meet Go standards.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2021-07-26 13:21:22 -04:00 committed by mergify[bot]
parent e5a1f842e5
commit fcdd6fd657
1 changed files with 4 additions and 4 deletions

View File

@ -49,14 +49,14 @@ func (suite *RadosTestSuite) TestMonCommandWithInputBuffer() {
})
assert.NoError(suite.T(), err)
client_key := fmt.Sprintf(clientKeyFormat, entity)
clientKey := fmt.Sprintf(clientKeyFormat, entity)
inbuf := []byte(client_key)
inbuf := []byte(clientKey)
buf, info, err := suite.conn.MonCommandWithInputBuffer(command, inbuf)
assert.NoError(suite.T(), err)
expected_info := fmt.Sprintf("added key for %s", entity)
assert.Equal(suite.T(), expected_info, info)
expectedInfo := fmt.Sprintf("added key for %s", entity)
assert.Equal(suite.T(), expectedInfo, info)
assert.Equal(suite.T(), "", string(buf[:]))
// get the key and verify that it's what we previously set