Skip to content

Commit

Permalink
Fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Jun 26, 2024
1 parent 34c853f commit 61b6bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/lib_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ func TestGetPinnedMetrics(t *testing.T) {
found := (*types.PerModuleMetrics)(nil)

for _, structure := range list {
if structure.Name == checksum {
if structure.Checksum == checksum {

Check failure on line 419 in internal/api/lib_test.go

View workflow job for this annotation

GitHub Actions / lint

invalid operation: structure.Checksum == checksum (mismatched types types.Checksum and string) (typecheck)
found = &structure.Metrics
break
}
Expand Down

0 comments on commit 61b6bcd

Please sign in to comment.