Skip to content

Commit

Permalink
Fix: do not generate "listen_multiaddress" deprecated option in config
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
  • Loading branch information
hsanjuan committed Apr 27, 2018
1 parent 695177a commit cd32daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/rest/config.go
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 cd32daf

Please sign in to comment.