Skip to content

Commit 4edacb7

Browse files
committed
option to disbale quality service
1 parent b971f87 commit 4edacb7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pour/vinocart.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,10 @@ func (vc *VinoCart) GrabCup(ctx context.Context) error {
317317

318318
func (vc *VinoCart) checkPickQuality(ctx context.Context) error {
319319

320+
if vc.c.PickQualityService == nil {
321+
return nil
322+
}
323+
320324
imgs, _, err := vc.c.Cam.Images(ctx)
321325
if err != nil {
322326
return err

0 commit comments

Comments
 (0)