mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
fix(broker): empty pattern if bridge-list is empty
i.e. if no bridge list file is provided, the relay pattern would not get set. AFAIK this is not a breaking change because the broker can't be used as a library, unlike client and server.
This commit is contained in:
parent
f752d2ab0c
commit
71828580bb
3 changed files with 21 additions and 17 deletions
|
@ -22,7 +22,7 @@ func TestSQS(t *testing.T) {
|
|||
|
||||
Convey("Context", t, func() {
|
||||
buf := new(bytes.Buffer)
|
||||
ipcCtx := NewBrokerContext(log.New(buf, "", 0))
|
||||
ipcCtx := NewBrokerContext(log.New(buf, "", 0), "", "")
|
||||
i := &IPC{ipcCtx}
|
||||
|
||||
var logBuffer bytes.Buffer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue