From c305f00db7fb876a484bafb1f4f5c2eb9b897f33 Mon Sep 17 00:00:00 2001 From: Cody Littley Date: Thu, 25 Jul 2024 14:38:50 -0500 Subject: [PATCH] Fix malformed sprintf Signed-off-by: Cody Littley --- tools/traffic/blob_table.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/traffic/blob_table.go b/tools/traffic/blob_table.go index dcb1039093..d6fb5ce5d1 100644 --- a/tools/traffic/blob_table.go +++ b/tools/traffic/blob_table.go @@ -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 {