Skip to content

Commit

Permalink
Fix SingleStore SatafulSet Name
Browse files Browse the repository at this point in the history
Signed-off-by: ashraful <[email protected]>
  • Loading branch information
AshrafulHaqueToni committed Feb 8, 2024
1 parent aa33c6e commit 47f8aa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apis/kubedb/v1alpha2/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ const (
DatabasePodMaster = "Master"
DatabasePodAggregator = "Aggregator"
DatabasePodLeaf = "Leaf"
StatefulSetTypeMasterAggregator = "master-aggregator"
StatefulSetTypAggregator = "aggregator"
StatefulSetTypeLeaf = "leaf"
SinglestoreDatabaseHealth = "singlestore_health"
SinglestoreTableHealth = "singlestore_health_table"
Expand Down
2 changes: 1 addition & 1 deletion apis/kubedb/v1alpha2/singlestore_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (s *Singlestore) PVCName(alias string) string {
}

func (s *Singlestore) AggregatorStatefulSet() string {
return metautil.NameWithSuffix(s.OffshootName(), StatefulSetTypeMasterAggregator)
return metautil.NameWithSuffix(s.OffshootName(), StatefulSetTypAggregator)
}

func (s *Singlestore) LeafStatefulSet() string {
Expand Down

0 comments on commit 47f8aa5

Please sign in to comment.