Skip to content

Commit

Permalink
Atlas Cloud Watch: Remove Typesafe config bean from the local spring …
Browse files Browse the repository at this point in the history
…config (#419)

class since it's instantiated elsewhere.
  • Loading branch information
manolama authored Mar 14, 2023
1 parent 006290f commit c7ea735
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ import java.util.Optional
@Configuration
class CloudWatchConfiguration extends StrictLogging {

// REPLACE With the dyn config jar include
@Bean
def getConfig: Config = ConfigFactory.load()

@Bean
def cloudWatchRules(config: Config): CloudWatchRules = new CloudWatchRules(config)

Expand Down

0 comments on commit c7ea735

Please sign in to comment.