diff --git a/redis/redis-console/src/main/java/com/ctrip/xpipe/redis/console/service/migration/impl/DefaultCheckMigrationCommandBuilder.java b/redis/redis-console/src/main/java/com/ctrip/xpipe/redis/console/service/migration/impl/DefaultCheckMigrationCommandBuilder.java index 79587b4e6..2c3f45056 100644 --- a/redis/redis-console/src/main/java/com/ctrip/xpipe/redis/console/service/migration/impl/DefaultCheckMigrationCommandBuilder.java +++ b/redis/redis-console/src/main/java/com/ctrip/xpipe/redis/console/service/migration/impl/DefaultCheckMigrationCommandBuilder.java @@ -14,7 +14,6 @@ import com.ctrip.xpipe.redis.console.service.migration.CheckMigrationCommandBuilder; import com.ctrip.xpipe.redis.core.entity.KeeperMeta; import com.ctrip.xpipe.redis.core.exception.NoResourceException; -import com.ctrip.xpipe.redis.core.meta.MetaCache; import com.ctrip.xpipe.redis.core.metaserver.META_SERVER_SERVICE; import com.ctrip.xpipe.redis.core.service.AbstractService; import com.ctrip.xpipe.tuple.Pair; @@ -39,8 +38,6 @@ public class DefaultCheckMigrationCommandBuilder extends AbstractService impleme private ConsoleConfig consoleConfig; - private MetaCache metaCache; - public DefaultCheckMigrationCommandBuilder(ScheduledExecutorService scheduled, DcService dcService, ClusterService clusterService, OuterClientService outerClientService, ConsoleConfig consoleConfig) { this.scheduled = scheduled; @@ -50,8 +47,6 @@ public DefaultCheckMigrationCommandBuilder(ScheduledExecutorService scheduled, D this.consoleConfig = consoleConfig; } - - @Override public Command checkCommand(CHECK_MIGRATION_SYSTEM_STEP step) { Pair clusterShard = consoleConfig.getClusterShardForMigrationSysCheck();