server: container_create: store sandbox's ip in annotations

So it can be later retrieved when needed (cadvisor)

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2017-08-30 01:00:49 +02:00
parent 5d637f015d
commit 2ac2832686
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9
5 changed files with 21 additions and 10 deletions

View file

@ -46,7 +46,7 @@ func logsCmd(c *cli.Context) error {
if len(args) != 1 {
return errors.Errorf("'kpod logs' requires exactly one container name/ID")
}
container := args[0]
container := c.Args().First()
var opts libkpod.LogOptions
opts.Details = c.Bool("details")
opts.Follow = c.Bool("follow")