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

Add session close button

This commit is contained in:
Jonathan Leibiusky (@xetorthio)
2016-11-12 18:58:30 -03:00
parent 81f02e4a3a
commit e8b38fe717
5 changed files with 31 additions and 18 deletions

View File

@@ -37,8 +37,6 @@ func getDindImageName() string {
}
func NewInstance(session *Session) (*Instance, error) {
//TODO: Validate that a session can only have 5 instances
log.Printf("NewInstance - using image: [%s]\n", dindImage)
instance, err := CreateInstance(session.Id, dindImage)
instance.Session = session