Updated golandci-lint to 1.21.0
Signed-off-by: Michał Matczuk <michal@scylladb.com>
This commit is contained in:
committed by
Michal Matczuk
parent
3e60935d2a
commit
1668ca5832
@@ -76,7 +76,7 @@ func (b *BatchBuilder) AddWithPrefix(prefix string, builder Builder) *BatchBuild
|
||||
|
||||
// AddStmtWithPrefix adds statement to the batch. Names are prefixed with
|
||||
// the prefix + ".".
|
||||
func (b *BatchBuilder) AddStmtWithPrefix(prefix string, stmt string, names []string) *BatchBuilder {
|
||||
func (b *BatchBuilder) AddStmtWithPrefix(prefix, stmt string, names []string) *BatchBuilder {
|
||||
b.stmts = append(b.stmts, stmt)
|
||||
for _, name := range names {
|
||||
if prefix != "" {
|
||||
|
||||
Reference in New Issue
Block a user