Skip to content

Commit 4a95a79

Browse files
johnstcnmafredri
andauthored
remove ptr deref
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
1 parent a1923c5 commit 4a95a79

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
if expected.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
if expected.UserAgent.Valid && al.UserAgent.String != expected.UserAgent.String {

0 commit comments

Comments
 (0)