소스 검색

fix: remove tenant_id from cache keys

Yeuoly 8 달 전
부모
커밋
ed5c779c7f
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      internal/utils/cache/helper/redis.go

+ 0 - 2
internal/utils/cache/helper/redis.go

@@ -18,7 +18,6 @@ func CombinedGetPluginDeclaration(
 		strings.Join(
 			[]string{
 				string(runtime_type),
-				tenant_id,
 				plugin_unique_identifier.String(),
 			},
 			":",
@@ -42,7 +41,6 @@ func CombinedGetPluginDeclaration(
 				plugin, err := db.GetOne[models.Plugin](
 					db.Equal("plugin_unique_identifier", plugin_unique_identifier.String()),
 					db.Equal("install_type", string(plugin_entities.PLUGIN_RUNTIME_TYPE_REMOTE)),
-					db.Equal("tenant_id", tenant_id),
 				)
 				if err != nil && err != db.ErrDatabaseNotFound {
 					return nil, err