Skip to content

Commit

Permalink
Update runtime/metricsview/executor.go
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Egelund-Müller <[email protected]>
  • Loading branch information
k-anshul and begelundmuller authored Dec 20, 2024
1 parent 80b80eb commit b9de62f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/metricsview/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (e *Executor) CacheKey(ctx context.Context) ([]byte, bool, error) {
}
defer res.Close()
var key string
for res.Next() {
if res.Next() {
if err := res.Scan(&key); err != nil {
return nil, false, err
}
Expand Down

0 comments on commit b9de62f

Please sign in to comment.