Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
gsheasby committed Feb 17, 2022
1 parent 726c960 commit ecfa876
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ private boolean shouldSetUpBackupAndRestoreResource(AtlasDbEteConfiguration conf
boolean isCassandra = CassandraKeyValueServiceConfig.TYPE.equals(
config.getAtlasDbConfig().keyValueService().type());
boolean hasTimelock = config.getAtlasDbRuntimeConfig()
.map(AtlasDbRuntimeConfig::timelockRuntime)
.flatMap(AtlasDbRuntimeConfig::timelockRuntime)
.isPresent();
return isCassandra && hasTimelock;
}
Expand Down Expand Up @@ -191,7 +191,7 @@ private void createAndRegisterBackupAndRestoreResource(
timeLockManagementService,
externalBackupPersister,
txManager,
_unused -> (com.palantir.atlasdb.cassandra.CassandraKeyValueServiceConfig)
_unused -> (CassandraKeyValueServiceConfig)
config.getAtlasDbConfig().keyValueService());

environment
Expand Down

0 comments on commit ecfa876

Please sign in to comment.