chore: refine generic-api-key fps + trace logging (#1720)

This commit is contained in:
Richard Gomez authored and GitHub committed 2025-01-21 08:29:24 -06:00
1 parent 69ed20e25e
commit a43dc0d3d0
6 files changed
+57 -29

No files matched your search

+2 -1
View File
@@ -40,7 +40,8 @@ func TestCommitAllowed(t *testing.T) {
},
}
for _, tt := range tests {
assert.Equal(t, tt.commitAllowed, tt.allowlist.CommitAllowed(tt.commit))
isAllowed, _ := tt.allowlist.CommitAllowed(tt.commit)
assert.Equal(t, tt.commitAllowed, isAllowed)
}
}