Fix pointer struct for channels
This commit is contained in:
parent
0d0c731cca
commit
09f0e56d49
|
@ -220,6 +220,7 @@ func (serve *Serve) Run() (err error) {
|
|||
if err != nil {
|
||||
return
|
||||
}
|
||||
} else {
|
||||
serve.hasNats = true
|
||||
}
|
||||
rnd := make([]byte, 16)
|
||||
|
|
|
@ -17,7 +17,7 @@ func setup() {
|
|||
}
|
||||
port, exists := os.LookupEnv("NATS_PORT")
|
||||
if !exists {
|
||||
host = "4222"
|
||||
port = "4222"
|
||||
}
|
||||
|
||||
serve = NewServe(host, port, "", "test", nil)
|
||||
|
|
Loading…
Reference in New Issue
Block a user