Skip to content

Commit

Permalink
Use hyphen instead of camel for prefix (#3119)
Browse files Browse the repository at this point in the history
  • Loading branch information
beiwei30 authored and ralf0131 committed Jan 3, 2019
1 parent 95ebfe8 commit 0d04cfd
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ public class DubboConfigConfiguration {
@EnableDubboConfigBinding(prefix = "dubbo.monitor", type = MonitorConfig.class),
@EnableDubboConfigBinding(prefix = "dubbo.provider", type = ProviderConfig.class),
@EnableDubboConfigBinding(prefix = "dubbo.consumer", type = ConsumerConfig.class),
@EnableDubboConfigBinding(prefix = "dubbo.configCenter", type = ConfigCenterBean.class),
@EnableDubboConfigBinding(prefix = "dubbo.registryData", type = RegistryDataConfig.class),
@EnableDubboConfigBinding(prefix = "dubbo.metadataReport", type = MetadataReportConfig.class)
@EnableDubboConfigBinding(prefix = "dubbo.config-center", type = ConfigCenterBean.class),
@EnableDubboConfigBinding(prefix = "dubbo.registry-data", type = RegistryDataConfig.class),
@EnableDubboConfigBinding(prefix = "dubbo.metadata-report", type = MetadataReportConfig.class)
})
public static class Single {

Expand All @@ -78,7 +78,7 @@ public static class Single {
@EnableDubboConfigBinding(prefix = "dubbo.monitors", type = MonitorConfig.class, multiple = true),
@EnableDubboConfigBinding(prefix = "dubbo.providers", type = ProviderConfig.class, multiple = true),
@EnableDubboConfigBinding(prefix = "dubbo.consumers", type = ConsumerConfig.class, multiple = true),
@EnableDubboConfigBinding(prefix = "dubbo.configCenters", type = ConfigCenterBean.class, multiple = true)
@EnableDubboConfigBinding(prefix = "dubbo.config-centers", type = ConfigCenterBean.class, multiple = true)
})
public static class Multiple {

Expand Down

0 comments on commit 0d04cfd

Please sign in to comment.