mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 12:07:54 +00:00
Change list users to list all for session validation (#3469)
This commit is contained in:
committed by
Jeff Mitchell
parent
d5f3f3a3a0
commit
ece3c77e6f
@@ -228,7 +228,7 @@ func (c *cassandraConnectionProducer) createSession() (*gocql.Session, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Verify the info
|
// Verify the info
|
||||||
err = session.Query(`LIST USERS`).Exec()
|
err = session.Query(`LIST ALL`).Exec()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("error validating connection info: %s", err)
|
return nil, fmt.Errorf("error validating connection info: %s", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user