Review comments
This commit is contained in:
parent
edad5e9e6d
commit
4f4777d6a6
|
@ -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 {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue