Skip to content

Commit f925d4b

Browse files
authored
remove-FromDMContextKey (#5397)
1 parent ef664a8 commit f925d4b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

data/collector.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ import (
2626
// The cutoff at which if interval < cutoff, a sleep based capture func is used instead of a ticker.
2727
var sleepCaptureCutoff = 2 * time.Millisecond
2828

29-
// FromDMContextKey is used to check whether the context is from data management.
30-
// Deprecated: use a camera.Extra with camera.NewContext instead.
31-
type FromDMContextKey struct{}
32-
3329
// FromDMString is used to access the 'fromDataManagement' value from a request's Extra struct.
3430
const FromDMString = "fromDataManagement"
3531

0 commit comments

Comments
 (0)