1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-10-05 18:03:21 +08:00

Enumerate nodes to improve cluster configuration

This commit is contained in:
Marcos Lilljedahl
2016-11-21 21:49:23 -03:00
parent 69f9edc695
commit a7d76f2720
2 changed files with 14 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ func getDindImageName() string {
func NewInstance(session *Session) (*Instance, error) {
log.Printf("NewInstance - using image: [%s]\n", dindImage)
instance, err := CreateInstance(session.Id, dindImage)
instance, err := CreateInstance(session, dindImage)
if err != nil {
return nil, err
}