Merge pull request #12387 from x1022as/inspect-logpath

Inspect show right LogPath in json-file driver
This commit is contained in:
Brian Goff 2015-04-15 14:28:39 -04:00
commit f0c60f7085
3 changed files with 9 additions and 2 deletions

View file

@ -1406,6 +1406,7 @@ func (container *Container) startLogging() error {
if err != nil {
return err
}
container.LogPath = pth
dl, err := jsonfilelog.New(pth)
if err != nil {

View file

@ -359,7 +359,10 @@ Return low-level information on the container `id`
"MaximumRetryCount": 2,
"Name": "on-failure"
},
"LogConfig": { "Type": "json-file", Config: {} },
"LogConfig": {
"Config": null,
"Type": "json-file"
},
"SecurityOpt": null,
"VolumesFrom": null,
"Ulimits": [{}]

View file

@ -362,7 +362,10 @@ Return low-level information on the container `id`
"MaximumRetryCount": 2,
"Name": "on-failure"
},
"LogConfig": { "Type": "json-file", "Config": {} },
"LogConfig": {
"Config": null,
"Type": "json-file"
},
"SecurityOpt": null,
"VolumesFrom": null,
"Ulimits": [{}]