Skip to content

Commit

Permalink
修复配置错误,导致在 Servlet 环境启动异常
Browse files Browse the repository at this point in the history
  • Loading branch information
herodotus-ecosystem committed May 19, 2024
1 parent 0e5c160 commit b296c10
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import cn.herodotus.oss.core.minio.definition.pool.MinioAsyncClientObjectPool;
import cn.herodotus.oss.core.minio.definition.pool.MinioAsyncClientPooledObjectFactory;
import cn.herodotus.oss.core.minio.properties.MinioProperties;
import cn.herodotus.stirrup.core.foundation.annotation.ConditionalOnReactiveApplication;
import jakarta.annotation.PostConstruct;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand All @@ -46,6 +47,7 @@
* @date : 2023/6/5 15:04
*/
@Configuration(proxyBeanMethods = false)
@ConditionalOnReactiveApplication
@EnableConfigurationProperties(MinioProperties.class)
public class OssDialectMinioReactiveConfiguration {

Expand Down

0 comments on commit b296c10

Please sign in to comment.