mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-01-02 18:19:32 +00:00
23 lines
321 B
Go
23 lines
321 B
Go
|
package aws
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
type suppressedContext struct {
|
||
|
context.Context
|
||
|
}
|
||
|
|
||
|
func (s *suppressedContext) Deadline() (deadline time.Time, ok bool) {
|
||
|
return time.Time{}, false
|
||
|
}
|
||
|
|
||
|
func (s *suppressedContext) Done() <-chan struct{} {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (s *suppressedContext) Err() error {
|
||
|
return nil
|
||
|
}
|