Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
seanavery committed Sep 5, 2024
1 parent 0c6129a commit c702035
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cam/cam.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ import (
"go.viam.com/rdk/resource"
"go.viam.com/rdk/rimage"
"go.viam.com/utils"

goutils "go.viam.com/utils"
)

// Model is the model for the video storage camera component.
Expand Down Expand Up @@ -47,7 +45,7 @@ type videostore struct {
cam camera.Camera
stream gostream.VideoStream

workers *goutils.StoppableWorkers
workers *utils.StoppableWorkers

enc *encoder
seg *segmenter
Expand Down Expand Up @@ -190,7 +188,7 @@ func newvideostore(
}

// Start workers to process frames and clean up storage.
vs.workers = goutils.NewBackgroundStoppableWorkers(vs.processFrames, vs.deleter)
vs.workers = utils.NewBackgroundStoppableWorkers(vs.processFrames, vs.deleter)

return vs, nil
}
Expand Down Expand Up @@ -333,9 +331,11 @@ func (vs *videostore) Close(ctx context.Context) error {
func (vs *videostore) Stream(_ context.Context, _ ...gostream.ErrorHandler) (gostream.VideoStream, error) {
return nil, errors.New("not implemented")
}

func (vs *videostore) Images(_ context.Context) ([]camera.NamedImage, resource.ResponseMetadata, error) {
return nil, resource.ResponseMetadata{}, errors.New("not implemented")
}

func (vs *videostore) NextPointCloud(_ context.Context) (pointcloud.PointCloud, error) {
return nil, errors.New("not implemented")
}

0 comments on commit c702035

Please sign in to comment.