Skip to content

Commit

Permalink
Fix malformed sprintf
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Littley <[email protected]>
  • Loading branch information
cody-littley committed Jul 25, 2024
1 parent 9e6a3d2 commit c305f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/traffic/blob_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (table *BlobTable) GetRandom(decrement bool) (*BlobMetadata, bool) {
// remove a blob from the requiredReads.
func (table *BlobTable) remove(blob *BlobMetadata) {
if table.blobs[blob.index] != blob {
panic(fmt.Sprintf("blob %x is not not present in the requiredReads at index %d", blob.Key, blob.index))
panic(fmt.Sprintf("blob %x is not not present in the requiredReads at index %d", blob.Key(), blob.index))
}

if table.size == 1 {
Expand Down

0 comments on commit c305f00

Please sign in to comment.