Skip to content

Commit

Permalink
fix: duplicate key after init
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-jacques committed Oct 11, 2024
1 parent 82acd3b commit 7f46bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (w *SyncedState) init(entries <-chan jetstream.KeyValueEntry) {
continue
}

w.peers[peer.PrivateCIDR] = peer
w.peers[entry.Key()] = peer
}
}

Expand Down

0 comments on commit 7f46bb2

Please sign in to comment.