mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-11 14:00:29 +00:00
11 lines
170 B
Go
11 lines
170 B
Go
package sensors
|
|
|
|
import "context"
|
|
|
|
func normalizeCollectionContext(ctx context.Context) context.Context {
|
|
if ctx == nil {
|
|
return context.Background()
|
|
}
|
|
return ctx
|
|
}
|