mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-07 08:57:12 +00:00
10 lines
170 B
Go
10 lines
170 B
Go
package sensors
|
|
|
|
import "context"
|
|
|
|
func normalizeCollectionContext(ctx context.Context) context.Context {
|
|
if ctx == nil {
|
|
return context.Background()
|
|
}
|
|
return ctx
|
|
}
|