Skip to content

Commit

Permalink
Merge pull request #396 from ipfs/fix/empty-config-option
Browse files Browse the repository at this point in the history
Fix: do not generate "listen_multiaddress" deprecated option in config
  • Loading branch information
hsanjuan committed Apr 27, 2018
2 parents 921c17c + cd32daf commit dbcc5c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/rest/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ type Config struct {
}

type jsonConfig struct {
ListenMultiaddress string `json:"listen_multiaddress"` // backwards compat
ListenMultiaddress string `json:"listen_multiaddress,omitempty"` // backwards compat
HTTPListenMultiaddress string `json:"http_listen_multiaddress"`
SSLCertFile string `json:"ssl_cert_file,omitempty"`
SSLKeyFile string `json:"ssl_key_file,omitempty"`
Expand Down

0 comments on commit dbcc5c2

Please sign in to comment.