Skip to content

Commit

Permalink
Consolidate index/total
Browse files Browse the repository at this point in the history
  • Loading branch information
hexbabe committed Feb 14, 2025
1 parent e749139 commit 390ab5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/camera/videosource/query.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package videosource

import (
"fmt"
"math"
"strings"
"time"
Expand Down Expand Up @@ -136,8 +137,7 @@ func selectBestDriver(
for i, d := range baseDrivers {
props := d.Properties()
logger.Debugw("base driver found",
"driver_number", i+1,
"total_drivers", len(baseDrivers),
"driver_number", fmt.Sprintf("%d/%d", i+1, len(baseDrivers)),
"label", d.Info().Label,
"priority", float32(d.Info().Priority),
"type", d.Info().DeviceType,
Expand Down

0 comments on commit 390ab5f

Please sign in to comment.