208
func validateCQLClientConfig(config *CQLClientConfig) error {
209
if len(config.Hosts) == 0 {
210
>
return schema.NewConfigError("missing cassandra endpoint argument " + flag(schema.CLIOptEndpoint))
handler.go
211
>
}
212
if config.Keyspace == "" {
213
>
return schema.NewConfigError("missing " + flag(schema.CLIOptKeyspace) + " argument ")
handler.go
214
>
}
215
if config.Port == 0 {
216
>
config.Port = environment.GetCassandraPort()
handler.go
217
>
}
218
if config.numReplicas == 0 {
219
config.numReplicas = defaultNumReplicas