From 5ad297b9af1c632e005f58dc723733a267f7cc10 Mon Sep 17 00:00:00 2001 From: Alex Shtin Date: Fri, 31 Jan 2025 16:24:45 -0800 Subject: [PATCH] CHASM: Fix default sharding function (#7214) ## What changed? Fix default sharding function. ## Why? Made a typo in my previous PR #7184. --- chasm/ref.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chasm/ref.go b/chasm/ref.go index eec32d511de..7befe47722c 100644 --- a/chasm/ref.go +++ b/chasm/ref.go @@ -29,7 +29,7 @@ import ( ) var ( - defaultShardingFn = func(key EntityKey) string { return key.NamespaceID + "_" + key.EntityID } + defaultShardingFn = func(key EntityKey) string { return key.NamespaceID + "_" + key.BusinessID } ) type EntityKey struct {