Skip to content

Commit

Permalink
feat(ec2): Make SecurityGroupHandler conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
luispollo committed Jan 25, 2021
1 parent d14e44c commit d2bbd7e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import com.netflix.spinnaker.keel.ec2.resource.ClusterHandler
import com.netflix.spinnaker.keel.ec2.resource.SecurityGroupHandler
import com.netflix.spinnaker.keel.orca.ClusterExportHelper
import com.netflix.spinnaker.keel.orca.OrcaService
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.context.annotation.Bean
Expand Down Expand Up @@ -68,6 +69,7 @@ class EC2Config {
)

@Bean
@ConditionalOnMissingBean
fun securityGroupHandler(
cloudDriverService: CloudDriverService,
cloudDriverCache: CloudDriverCache,
Expand Down

0 comments on commit d2bbd7e

Please sign in to comment.