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(), }