Skip to content

Commit

Permalink
Don't move tags to ref when upgrading feed
Browse files Browse the repository at this point in the history
  • Loading branch information
cjmalloy committed Aug 14, 2022
1 parent 363a304 commit b8e48eb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/jasper/component/Backup.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import java.nio.file.StandardOpenOption;
import java.time.Duration;
import java.time.Instant;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
Expand Down Expand Up @@ -202,8 +201,7 @@ private void upgradeFeed(Path path) {
ref.setUrl(oldFeed.url);
ref.setOrigin(oldFeed.origin);
ref.setTitle(oldFeed.name);
ref.setTags(new ArrayList<>(oldFeed.tags));
ref.addTags(List.of("+plugin/feed"));
ref.setTags(List.of("public", "internal", "+plugin/feed"));
ref.setCreated(oldFeed.modified);
ref.setModified(oldFeed.modified);
ref.setPublished(oldFeed.modified);
Expand Down

0 comments on commit b8e48eb

Please sign in to comment.