1
0
Fork 0

Migrate Sirupsen to sirupsen.

This commit is contained in:
Ludovic Fernandez 2018-01-22 12:16:03 +01:00 committed by Traefiker
parent c134dcd6fe
commit fb4ba7af2b
684 changed files with 92394 additions and 33943 deletions

View file

@ -45,8 +45,10 @@ func CreateProject(name string, composeFiles ...string) (*Project, error) {
if err != nil {
return nil, err
}
// FIXME(vdemeester) fix this
apiClient.UpdateClientVersion(d.CurrentAPIVersion)
ping := types.Ping{APIVersion: d.CurrentAPIVersion}
apiClient.NegotiateAPIVersionPing(ping)
composeProject, err := docker.NewProject(&ctx.Context{
Context: project.Context{
ComposeFiles: composeFiles,
@ -86,7 +88,7 @@ func (p *Project) Start(services ...string) error {
*p = *newProject
}
ctx := context.Background()
err := p.composeProject.Create(ctx, options.Create{})
err := p.composeProject.Create(ctx, options.Create{}, services...)
if err != nil {
return err
}