Skip to content

Commit

Permalink
fix: remove tenant_id from cache keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeuoly committed Nov 13, 2024
1 parent 843fefd commit ed5c779
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/utils/cache/helper/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ func CombinedGetPluginDeclaration(
strings.Join(
[]string{
string(runtime_type),
tenant_id,
plugin_unique_identifier.String(),
},
":",
Expand All @@ -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
Expand Down

0 comments on commit ed5c779

Please sign in to comment.