diff --git a/pkg/cassandra/config/config.go b/pkg/cassandra/config/config.go index 2c861a6a436..0af10d76739 100644 --- a/pkg/cassandra/config/config.go +++ b/pkg/cassandra/config/config.go @@ -203,7 +203,7 @@ func (c *Configuration) newSessionPrerequisites() error { return err } - return generateSchemaIfNotPresent(session, &cfg.Schema) + return generateSchemaIfNotPresent(session, &c.Schema) } // NewSession creates a new Cassandra session