mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-06 08:47:52 +08:00
go-ipfs-config: set Swarm.EnableAutoRelay to omitempty
Co-authored-by: Marcin Rataj <lidel@lidel.org>
This commit is contained in:
parent
dcf17eb24a
commit
bf3a2ca8de
@ -25,7 +25,7 @@ type SwarmConfig struct {
|
||||
//
|
||||
// Deprecated: This flag is deprecated and is overriden by
|
||||
// `Swarm.AutoRelay.Enabled` if specified.
|
||||
EnableAutoRelay bool
|
||||
EnableAutoRelay bool `json:",omitempty"`
|
||||
|
||||
// AutoRelay controls the "auto relay service" feature.
|
||||
// When enabled, the node will use relays if it is not publicly reachable.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user