From f9bf4b15e813f565d9bc1ad7cad12c475a725b90 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Tue, 5 Sep 2017 09:58:42 +0200 Subject: [PATCH] server: inspect: send full ctr log path Signed-off-by: Antonio Murdaca --- server/inspect.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/inspect.go b/server/inspect.go index 0bee7c5e..77d218d3 100644 --- a/server/inspect.go +++ b/server/inspect.go @@ -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(), }