Skip to content

Commit

Permalink
fix: s3 auto configuration should only activate when spting-content-s…
Browse files Browse the repository at this point in the history
…3 is on the classpath (#1356) (#1359)
  • Loading branch information
paulcwarren authored Apr 12, 2023
1 parent 1a64616 commit d639e11
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
@Configuration
@AutoConfigureAfter({ JpaVersionsAutoConfiguration.class })
@ConditionalOnClass(FilesystemStoreRegistrar.class)

@ConditionalOnProperty(
prefix="spring.content.storage.type",
name = "default",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

@Configuration
@AutoConfigureAfter({ JpaVersionsAutoConfiguration.class })
@ConditionalOnClass(S3Client.class)
@ConditionalOnClass({S3StoreConfiguration.class, S3Client.class})
@ConditionalOnProperty(
prefix="spring.content.storage.type",
name = "default",
Expand Down

0 comments on commit d639e11

Please sign in to comment.