W/o this PR the logs would show:
```
ERRO[0000] API listen on [::]:2375
ERRO[0000] API listen on /var/run/docker.sock
```
which is misleading since these aren't "errors" they're just informational.
Signed-off-by: Doug Davis <dug@us.ibm.com>
| ... | ... |
@@ -79,7 +79,7 @@ func (s *Server) ServeAPI() error {
|
| 79 | 79 |
srv.srv.Handler = s.CreateMux() |
| 80 | 80 |
go func(srv *HTTPServer) {
|
| 81 | 81 |
var err error |
| 82 |
- logrus.Errorf("API listen on %s", srv.l.Addr())
|
|
| 82 |
+ logrus.Infof("API listen on %s", srv.l.Addr())
|
|
| 83 | 83 |
if err = srv.Serve(); err != nil && strings.Contains(err.Error(), "use of closed network connection") {
|
| 84 | 84 |
err = nil |
| 85 | 85 |
} |