Skip to content

Commit

Permalink
Fix configpersistence export function for catalog objects (#11047)
Browse files Browse the repository at this point in the history
  • Loading branch information
malikdiarra authored Mar 15, 2022
1 parent 0004a63 commit 266a491
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1668,17 +1668,17 @@ public Map<String, Stream<JsonNode>> dumpConfigs() throws IOException {
.map(Jsons::jsonNode));
}
final List<ConfigWithMetadata<ActorCatalog>> actorCatalogWithMetadata = listActorCatalogWithMetadata();
if (!standardSyncStateWithMetadata.isEmpty()) {
if (!actorCatalogWithMetadata.isEmpty()) {
result.put(ConfigSchema.ACTOR_CATALOG.name(),
standardSyncStateWithMetadata
actorCatalogWithMetadata
.stream()
.map(ConfigWithMetadata::getConfig)
.map(Jsons::jsonNode));
}
final List<ConfigWithMetadata<ActorCatalogFetchEvent>> actorCatalogFetchEventWithMetadata = listActorCatalogFetchEventWithMetadata();
if (!standardSyncStateWithMetadata.isEmpty()) {
if (!actorCatalogFetchEventWithMetadata.isEmpty()) {
result.put(ConfigSchema.ACTOR_CATALOG_FETCH_EVENT.name(),
standardSyncStateWithMetadata
actorCatalogFetchEventWithMetadata
.stream()
.map(ConfigWithMetadata::getConfig)
.map(Jsons::jsonNode));
Expand Down

0 comments on commit 266a491

Please sign in to comment.