ソースを参照

filter networks, only copy current network

tags/v0.17.2
Jonathan Cobb 4年前
コミット
d00c29bafb
1個のファイルの変更6行の追加0行の削除
  1. +6
    -0
      bubble-server/src/main/java/bubble/service/dbfilter/EntityIterator.java

+ 6
- 0
bubble-server/src/main/java/bubble/service/dbfilter/EntityIterator.java ファイルの表示

@@ -114,6 +114,12 @@ public abstract class EntityIterator implements Iterator<Identifiable> {
add(setLocalStoragePath(cs));
});

} else if (!fullCopy && BubbleNetwork.class.isAssignableFrom(c)) {
// only add the network for the node we are starting
entities.stream()
.filter(e -> e.getUuid().equals(network.getUuid()))
.forEach(this::add);

} else if (Account.class.isAssignableFrom(c)) {
entities.forEach(e -> add(((Account) e).setPreferredPlan(null)));



読み込み中…
キャンセル
保存