Skip to content

Commit

Permalink
Fix nits and polish code.
Browse files Browse the repository at this point in the history
Signed-off-by: Drew Erny <drew.erny@docker.com>
  • Loading branch information
dperny committed May 23, 2018
1 parent 4fa62f5 commit 79f469d
Show file tree
Hide file tree
Showing 4 changed files with 223 additions and 174 deletions.
2 changes: 1 addition & 1 deletion manager/allocator/allocator.go
Expand Up @@ -84,7 +84,7 @@ func New(store *store.MemoryStore, pg plugingetter.PluginGetter) (*Allocator, er
func (a *Allocator) Run(ctx context.Context) error {
// Setup cancel context for all goroutines to use.
ctx, cancel := context.WithCancel(ctx)
log.WithModule(ctx, "allocator")
ctx = log.WithModule(ctx, "allocator")
log.G(ctx).Info("starting old allocator")
var (
wg sync.WaitGroup
Expand Down

0 comments on commit 79f469d

Please sign in to comment.