Skip to content

Commit

Permalink
modify renewDisabledDataSourceNames()
Browse files Browse the repository at this point in the history
  • Loading branch information
tristaZero committed Oct 15, 2018
1 parent c54781f commit 5661e61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public void renewCircuitBreakerDataSourceNames(final CircuitStateEventBusEvent c
@Subscribe
public void renewDisabledDataSourceNames(final ProxyDisabledStateEventBusEvent disabledStateEventBusEvent) {
for (Entry<String, ShardingSchema> entry : shardingSchemas.entrySet()) {
DisabledStateEventBusEvent disabledEvent = new DisabledStateEventBusEvent(getDisabledDataSourceNames(entry.getKey(), =disabledStateEventBusEvent.getDisabledSchemaDataSourceMap());
DisabledStateEventBusEvent disabledEvent = new DisabledStateEventBusEvent(getDisabledDataSourceNames(entry.getKey(), disabledStateEventBusEvent.getDisabledSchemaDataSourceMap()));
if (entry.getValue().isMasterSlaveOnly()) {
renewShardingSchemaWithMasterSlaveRule(entry.getValue(), disabledEvent);
} else {
Expand Down

0 comments on commit 5661e61

Please sign in to comment.