Change list users to list all for session validation (#3469)

This commit is contained in:
navinanandaraj
2017-10-18 14:24:12 -04:00
committed by Jeff Mitchell
parent d5f3f3a3a0
commit ece3c77e6f

View File

@@ -228,7 +228,7 @@ func (c *cassandraConnectionProducer) createSession() (*gocql.Session, error) {
}
// Verify the info
err = session.Query(`LIST USERS`).Exec()
err = session.Query(`LIST ALL`).Exec()
if err != nil {
return nil, fmt.Errorf("error validating connection info: %s", err)
}