Review comments

This commit is contained in:
Preetha Appan 2018-10-15 12:27:14 -05:00 committed by Michael Schurter
parent edad5e9e6d
commit 4f4777d6a6
2 changed files with 1 additions and 4 deletions

View File

@ -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) { func (d *RktDriver) handleFingerprint(ctx context.Context, ch chan *drivers.Fingerprint) {
defer close(ch)
ticker := time.NewTimer(0) ticker := time.NewTimer(0)
for { for {
select { select {

View File

@ -110,10 +110,6 @@ type TaskConfig struct {
StderrPath string StderrPath string
} }
func (tc *TaskConfig) GetRawConfig() []byte {
return tc.rawDriverConfig
}
func (tc *TaskConfig) Copy() *TaskConfig { func (tc *TaskConfig) Copy() *TaskConfig {
if tc == nil { if tc == nil {
return nil return nil