Skip to content

Commit ff0747d

Browse files
committed
fix linter issue
1 parent 9cefc73 commit ff0747d

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

internal/query/client.go

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,11 @@ func executeScript(ctx context.Context, //nolint:funlen
182182
Stats: stats.FromQueryStats(md.GetExecStats()),
183183
ResultSetsMeta: func() (
184184
resultSetsMeta []struct {
185-
Columns []struct {
186-
Name string
187-
Type query.Type
188-
}
189-
},
185+
Columns []struct {
186+
Name string
187+
Type query.Type
188+
}
189+
},
190190
) {
191191
for _, rs := range md.GetResultSetsMeta() {
192192
resultSetsMeta = append(resultSetsMeta, struct {
@@ -197,9 +197,9 @@ func executeScript(ctx context.Context, //nolint:funlen
197197
}{
198198
Columns: func() (
199199
columns []struct {
200-
Name string
201-
Type types.Type
202-
},
200+
Name string
201+
Type types.Type
202+
},
203203
) {
204204
for _, c := range rs.GetColumns() {
205205
columns = append(columns, struct {
@@ -491,7 +491,9 @@ func clientQuery(ctx context.Context, pool sessionPool, q string, opts ...option
491491
) {
492492
settings := options.ExecuteSettings(opts...)
493493
err = do(ctx, pool, func(ctx context.Context, s *Session) (err error) {
494-
_, streamResult, err := execute(ctx, s.id, s.queryServiceClient, q, options.ExecuteSettings(opts...), withTrace(s.cfg.Trace()))
494+
_, streamResult, err := execute(ctx, s.id, s.queryServiceClient, q,
495+
options.ExecuteSettings(opts...), withTrace(s.cfg.Trace()),
496+
)
495497
if err != nil {
496498
return xerrors.WithStackTrace(err)
497499
}

0 commit comments

Comments
 (0)