diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-11-20 18:10:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-20 18:10:56 +0100 |
commit | 864fe21ed02ca6faa72e6a94f06c9961167aca7d (patch) | |
tree | 494af9399fb717aaa484454db4fdb33c3f03b202 /pkg/api/server/server.go | |
parent | 042d4884ea35467df5da053627e5535e82fb2d27 (diff) | |
parent | d8795a36b2ed8c53f0597ab14f46935ea977e84b (diff) | |
download | podman-864fe21ed02ca6faa72e6a94f06c9961167aca7d.tar.gz podman-864fe21ed02ca6faa72e6a94f06c9961167aca7d.tar.bz2 podman-864fe21ed02ca6faa72e6a94f06c9961167aca7d.zip |
Merge pull request #8406 from jwhonce/issues/8390
Make podman service log events
Diffstat (limited to 'pkg/api/server/server.go')
-rw-r--r-- | pkg/api/server/server.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkg/api/server/server.go b/pkg/api/server/server.go index 64008767b..09b6079e4 100644 --- a/pkg/api/server/server.go +++ b/pkg/api/server/server.go @@ -51,10 +51,7 @@ func NewServer(runtime *libpod.Runtime) (*APIServer, error) { } // NewServerWithSettings will create and configure a new API server using provided settings -func NewServerWithSettings(runtime *libpod.Runtime, duration time.Duration, listener *net.Listener) ( - *APIServer, - error, -) { +func NewServerWithSettings(runtime *libpod.Runtime, duration time.Duration, listener *net.Listener) (*APIServer, error) { return newServer(runtime, duration, listener) } @@ -75,6 +72,7 @@ func newServer(runtime *libpod.Runtime, duration time.Duration, listener *net.Li listener = &listeners[0] } + logrus.Infof("API server listening on %q", (*listener).Addr()) router := mux.NewRouter().UseEncodedPath() idle := idle.NewTracker(duration) |