Skip to content

Commit 1deb704

Browse files
committed
fix store-client append assignment lint
Signed-off-by: Minh Vu <vuhoangminh97@gmail.com>
1 parent 480f045 commit 1deb704

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

store-client/pkg/client/postgresql_client.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,8 @@ func (c *PostgreSQLClient) UpdateDocument(
406406
}
407407

408408
adjustedWhereClause := c.adjustParameterNumbers(whereClause, len(updateArgs))
409-
args := append(updateArgs, filterArgs...)
409+
args := updateArgs
410+
args = append(args, filterArgs...)
410411

411412
// Build final query
412413
//nolint:gosec // G201: table name from config, clauses built with parameterized queries

0 commit comments

Comments
 (0)