Skip to content

Commit

Permalink
debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
slntopp committed Oct 21, 2024
1 parent f6efcbf commit 4fe3ccb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions providers/os/connection/snapshot/blockdevices.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,11 @@ func (blockEntries BlockDevices) FindDevice(requested string) (BlockDevice, erro
return devices[0], nil
}

log.Debug().
Str("device", requested).
Any("checked_names", lmsCache).
Msg("no device found")

return BlockDevice{}, fmt.Errorf("no block device found with name %s", requested)
}

Expand Down

1 comment on commit 4fe3ccb

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.50.

Benchmark suite Current: 4fe3ccb Previous: afec124 Ratio
BenchmarkScan_SingleAsset - B/op 239080920 B/op 141334920 B/op 1.69

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.