Skip to content

Commit af821f3

Browse files
chore: Minor changes
Signed-off-by: Alberto Perdomo <aperdomo@redhat.com>
1 parent 203a984 commit af821f3

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

kv_connectors/llmd_fs_backend/llmd_fs_backend/event_publisher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def publish_blocks_removed(
129129

130130
event = [
131131
"BlockRemoved", # [0] tag
132-
hashes, # [1] block_hashes (all hashes from this XXX call)
132+
hashes, # [1] block_hashes
133133
self._medium.value, # [2] medium / device tier
134134
]
135135

kv_connectors/llmd_fs_backend/tests/test_storage_events.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ def load_storage_event_modules():
118118
OffloadKey=object,
119119
PrepareStoreOutput=PrepareStoreOutput,
120120
ReqContext=object,
121+
get_offload_block_hash=lambda key: key,
121122
),
122123
}
123124

0 commit comments

Comments
 (0)