1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #20825 from LK4D4/unused

Remove some unused structs and fields
This commit is contained in:
Arnaud Porterie 2016-03-01 12:58:35 -08:00
commit 106793dcbe
3 changed files with 0 additions and 7 deletions

View file

@ -121,7 +121,6 @@ func printOutput(event eventtypes.Message, output io.Writer) {
type eventHandler struct {
handlers map[string]func(eventtypes.Message)
mu sync.Mutex
closed bool
}
func (w *eventHandler) Handle(action string, h func(eventtypes.Message)) {

View file

@ -123,11 +123,6 @@ func NewDriver(root string, options []string) (*Driver, error) {
}, nil
}
type execOutput struct {
exitCode int
err error
}
// Run implements the exec driver Driver interface,
// it calls libcontainer APIs to run a container.
func (d *Driver) Run(c *execdriver.Command, pipes *execdriver.Pipes, hooks execdriver.Hooks) (execdriver.ExitStatus, error) {

View file

@ -25,7 +25,6 @@ type JSONFileLogger struct {
buf *bytes.Buffer
writer *loggerutils.RotateFileWriter
mu sync.Mutex
ctx logger.Context
readers map[*logger.LogWatcher]struct{} // stores the active log followers
extra []byte // json-encoded extra attributes
}