cmd/swarm: Add --httpaddr flag (#14475)
Fixes #14474. Signed-off-by: Lewis Marshall <lewis@lmars.net>
This commit is contained in:
committed by
Jeffrey Wilcke
parent
bc75351edf
commit
4a2c17b1ab
@ -69,7 +69,6 @@ func StartHttpServer(api *api.Api, config *ServerConfig) {
|
||||
hdlr := c.Handler(NewServer(api))
|
||||
|
||||
go http.ListenAndServe(config.Addr, hdlr)
|
||||
log.Info(fmt.Sprintf("Swarm HTTP proxy started on localhost:%s", config.Addr))
|
||||
}
|
||||
|
||||
func NewServer(api *api.Api) *Server {
|
||||
|
Reference in New Issue
Block a user