diff --git a/drivers/rkt/driver.go b/drivers/rkt/driver.go index 988f9d7b6..85a7fccc1 100644 --- a/drivers/rkt/driver.go +++ b/drivers/rkt/driver.go @@ -218,6 +218,7 @@ func (r *RktDriver) Fingerprint(ctx context.Context) (<-chan *drivers.Fingerprin } func (d *RktDriver) handleFingerprint(ctx context.Context, ch chan *drivers.Fingerprint) { + defer close(ch) ticker := time.NewTimer(0) for { select { diff --git a/plugins/drivers/driver.go b/plugins/drivers/driver.go index c50a3042e..f37a10ff0 100644 --- a/plugins/drivers/driver.go +++ b/plugins/drivers/driver.go @@ -110,10 +110,6 @@ type TaskConfig struct { StderrPath string } -func (tc *TaskConfig) GetRawConfig() []byte { - return tc.rawDriverConfig -} - func (tc *TaskConfig) Copy() *TaskConfig { if tc == nil { return nil