Skip to content

Commit 214d648

Browse files
committed
chore: touch up error
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
1 parent fe31f5d commit 214d648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/rules.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ func publishInTransaction(m dsl.Matcher) {
159159
`).
160160
Where(m["ps"].Type.Is("pubsub.Pubsub")).
161161
At(m["ps"]).
162-
Report("Avoid calling Publish inside database transactions as this may lead to connection deadlocks. Move the Publish call outside the transaction.")
162+
Report("Avoid calling pubsub.Publish() inside database transactions as this may lead to connection deadlocks. Move the Publish() call outside the transaction.")
163163
}
164164

165165
// doNotCallTFailNowInsideGoroutine enforces not calling t.FailNow or

0 commit comments

Comments
 (0)