Skip to content

Commit 61b6bcd

Browse files
committed
Fix name
1 parent 34c853f commit 61b6bcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/api/lib_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ func TestGetPinnedMetrics(t *testing.T) {
416416
found := (*types.PerModuleMetrics)(nil)
417417

418418
for _, structure := range list {
419-
if structure.Name == checksum {
419+
if structure.Checksum == checksum {
420420
found = &structure.Metrics
421421
break
422422
}

0 commit comments

Comments
 (0)