server: inspect: send full ctr log path

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2017-09-05 09:58:42 +02:00
parent e1125af435
commit f9bf4b15e8
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9

View file

@ -4,7 +4,6 @@ import (
"encoding/json"
"fmt"
"net/http"
"path/filepath"
"github.com/go-zoo/bone"
)
@ -75,7 +74,7 @@ func (s *Server) GetInfoMux() *bone.Mux {
Labels: ctr.Labels(),
Annotations: ctr.Annotations(),
Root: ctr.MountPoint(),
LogPath: filepath.Dir(ctr.LogPath()),
LogPath: ctr.LogPath(),
Sandbox: ctr.Sandbox(),
IP: sb.IP(),
}