Update to goprogram 0.1.0
This commit is contained in:
parent
d2d681a4f2
commit
7cda92b342
31 changed files with 141 additions and 244 deletions
|
|
@ -21,6 +21,9 @@ type Distillery struct {
|
|||
// core holds the core of the distillery
|
||||
component.Core
|
||||
|
||||
// internal context for the distillery
|
||||
context context.Context
|
||||
|
||||
// Upstream holds information to connect to the various running
|
||||
// distillery components.
|
||||
//
|
||||
|
|
@ -40,7 +43,7 @@ type Upstream struct {
|
|||
|
||||
// Context returns a new Context belonging to this distillery
|
||||
func (dis *Distillery) Context() context.Context {
|
||||
return context.Background()
|
||||
return dis.context
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue