Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #112 from vania-pooh/master
Browse files Browse the repository at this point in the history
Returning Driver instance where needed (fixes #111)
  • Loading branch information
vania-pooh authored Jun 7, 2017
2 parents e85fd64 + 41aafd3 commit 6796e7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func (m *DefaultManager) Find(s string, v *string, sr string, vnc bool, requestI
return &Docker{m.IP, m.InDocker, m.CPU, m.Memory, m.Client, service, m.Config.ContainerLogs, sr, vnc, requestId}, true
case []interface{}:
log.Printf("[%d] [USING_DRIVER] [%s-%s]\n", requestId, s, *v)
return &Driver{m.InDocker, service, requestId}, true
}
return nil, false
}
Expand Down

0 comments on commit 6796e7e

Please sign in to comment.