1
0
mirror of https://github.com/rancher/os.git synced 2025-09-02 07:15:41 +00:00

Fix 'rancher.log'

This commit is contained in:
Josh Curl
2016-06-06 15:31:34 -07:00
parent b83f0ec092
commit 4cb1d26cf9
5 changed files with 10 additions and 2 deletions

View File

@@ -292,6 +292,10 @@ func (s *Service) up(ctx context.Context, imageName string, create bool, options
}
}
if options.Log {
go c.Log(ctx, true)
}
return c.Up(ctx, imageName)
})
}

View File

@@ -31,6 +31,7 @@ type Create struct {
// Up holds options of compose up.
type Up struct {
Create
Log bool
}
// ImageType defines the type of image (local, all)