From 4aeaad7738c70ee6e76b94d83c6717b291004d1e Mon Sep 17 00:00:00 2001 From: Alok Kumar Singh Date: Thu, 28 Nov 2024 21:46:20 +0530 Subject: [PATCH] create schema bug fix Signed-off-by: Alok Kumar Singh --- pkg/cassandra/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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