Skip to content

Commit

Permalink
Reverts changes made to workaround liquibase issue: liquibase/liquiba…
Browse files Browse the repository at this point in the history
…se#4763 since we've updated to liquibase 4.24.0
  • Loading branch information
appiepollo14 committed Oct 20, 2023
1 parent d167d19 commit 8d8147f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ public LiquibaseMongodbConfig getConfiguration() {
* @return the label expression
*/
public LabelExpression createLabels() {
// need to join because of https://github.com/liquibase/liquibase/issues/4763
return new LabelExpression(
liquibaseMongodbConfig.labels.map(labels -> labels.stream().collect(Collectors.joining(","))).orElse(null));
return new LabelExpression(liquibaseMongodbConfig.labels.orElse(null));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,7 @@ public LiquibaseConfig getConfiguration() {
* @return the label expression
*/
public LabelExpression createLabels() {
// need to join because of https://github.com/liquibase/liquibase/issues/4763
return new LabelExpression(config.labels != null
? config.labels.stream().collect(Collectors.joining(","))
: null);
return new LabelExpression(config.labels);
}

/**
Expand Down

0 comments on commit 8d8147f

Please sign in to comment.