server: inspect: send full ctr log path
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
e1125af435
commit
f9bf4b15e8
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,6 @@ import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
"path/filepath"
|
|
||||||
|
|
||||||
"github.com/go-zoo/bone"
|
"github.com/go-zoo/bone"
|
||||||
)
|
)
|
||||||
|
@ -75,7 +74,7 @@ func (s *Server) GetInfoMux() *bone.Mux {
|
||||||
Labels: ctr.Labels(),
|
Labels: ctr.Labels(),
|
||||||
Annotations: ctr.Annotations(),
|
Annotations: ctr.Annotations(),
|
||||||
Root: ctr.MountPoint(),
|
Root: ctr.MountPoint(),
|
||||||
LogPath: filepath.Dir(ctr.LogPath()),
|
LogPath: ctr.LogPath(),
|
||||||
Sandbox: ctr.Sandbox(),
|
Sandbox: ctr.Sandbox(),
|
||||||
IP: sb.IP(),
|
IP: sb.IP(),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue