Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: delete cache api should bind with actuator service (#7506)

ecmadaoeebc6b33c29f
diff --git a/backend/api/v1/actuator_service.go b/backend/api/v1/actuator_service.go
index 3592e5ec35..12c89b335a 100644
--- a/backend/api/v1/actuator_service.go
+++ b/backend/api/v1/actuator_service.go
@@ -76,7 +76,7 @@ func (s *ActuatorService) ListDebugLog(_ context.Context, _ *v1pb.ListDebugLogRe
}
// DeleteCache deletes the cache.
-func (s *SettingService) DeleteCache(_ context.Context, _ *v1pb.DeleteCacheRequest) (*emptypb.Empty, error) {
+func (s *ActuatorService) DeleteCache(_ context.Context, _ *v1pb.DeleteCacheRequest) (*emptypb.Empty, error) {
s.store.DeleteCache()
return &emptypb.Empty{}, nil
}