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) {
defer close(ch)
ticker := time.NewTimer(0)
for {
select {

View File

@ -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