Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 7a0c5cd

Browse files
authored
Merge pull request #140 from carmark/fix_size_issue
fix container create size issue
2 parents 08a02ca + 0455355 commit 7a0c5cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vendor/src/github.com/hyperhq/libcompose/docker/container.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ import (
1414
"github.com/docker/engine-api/types"
1515
"github.com/docker/engine-api/types/container"
1616
"github.com/docker/go-connections/nat"
17+
"github.com/hyperhq/hypercli/pkg/promise"
18+
"github.com/hyperhq/hypercli/pkg/stdcopy"
19+
"github.com/hyperhq/hypercli/pkg/term"
1720
"github.com/hyperhq/libcompose/config"
1821
"github.com/hyperhq/libcompose/labels"
1922
"github.com/hyperhq/libcompose/logger"
2023
"github.com/hyperhq/libcompose/project"
2124
"github.com/hyperhq/libcompose/project/events"
2225
util "github.com/hyperhq/libcompose/utils"
23-
"github.com/hyperhq/hypercli/pkg/promise"
24-
"github.com/hyperhq/hypercli/pkg/stdcopy"
25-
"github.com/hyperhq/hypercli/pkg/term"
2626
)
2727

2828
// Container holds information about a docker container and the service it is tied on.
@@ -485,7 +485,7 @@ func (c *Container) createContainer(imageName, oldContainer string, configOverri
485485
configWrapper.Config.Labels[labels.ONEOFF.Str()] = oneOffString
486486
configWrapper.Config.Labels[labels.NUMBER.Str()] = fmt.Sprint(c.containerNumber)
487487
configWrapper.Config.Labels[labels.VERSION.Str()] = ComposeVersion
488-
size := "xs"
488+
size := "s4"
489489
if serviceConfig.Size != "" {
490490
size = serviceConfig.Size
491491
}

0 commit comments

Comments
 (0)