Skip to content

Commit

Permalink
drop deprecated WithContext option
Browse files Browse the repository at this point in the history
  • Loading branch information
vbauerster committed Mar 7, 2019
1 parent 85db7c5 commit 58a6148
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions options.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package mpb

import (
"context"
"io"
"io/ioutil"
"sync"
Expand Down Expand Up @@ -48,12 +47,6 @@ func WithManualRefresh(ch <-chan time.Time) ContainerOption {
}
}

// WithContext deprecated and has no effect, please use NewWithContext instead.
func WithContext(ctx context.Context) ContainerOption {
return func(s *pState) {
}
}

// WithShutdownNotifier provided chanel will be closed, after all bars
// have been rendered.
func WithShutdownNotifier(ch chan struct{}) ContainerOption {
Expand Down

0 comments on commit 58a6148

Please sign in to comment.