Skip to content

Commit

Permalink
fix copy and paste issue
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Jun 12, 2024
1 parent 7b04567 commit b7528e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go-runtime/compile/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ func parseSubscriptionDecl(pctx *parseContext, node *ast.CallExpr) {
for _, d := range pctx.module.Decls {
existing, ok := d.(*schema.Subscription)
if ok && existing.Name == name {
pctx.errors.add(errorf(node, "duplicate topic registration at %d:%d-%d", existing.Pos.Line, existing.Pos.Column, endCol))
pctx.errors.add(errorf(node, "duplicate subscription registration at %d:%d-%d", existing.Pos.Line, existing.Pos.Column, endCol))
return
}
}
Expand Down

0 comments on commit b7528e9

Please sign in to comment.