Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf015c3c

Browse files
johnstcnmafredri
andcommitted
remove ptr deref
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
1 parent631f853 commitf015c3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎coderd/audit/audit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func (a *MockAuditor) Contains(t testing.TB, expected database.AuditLog) bool {
9797
continue
9898
}
9999
ifexpected.Ip.Valid&&al.Ip.IPNet.String()!=expected.Ip.IPNet.String() {
100-
t.Logf("audit log %d: expected Ip %s, got %s",idx+1,&expected.Ip.IPNet,al.Ip.IPNet)
100+
t.Logf("audit log %d: expected Ip %s, got %s",idx+1,expected.Ip.IPNet,al.Ip.IPNet)
101101
continue
102102
}
103103
ifexpected.UserAgent.Valid&&al.UserAgent.String!=expected.UserAgent.String {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp