Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
Signed-off-by: sashayakovtseva <[email protected]>
  • Loading branch information
sashayakovtseva committed Mar 1, 2024
1 parent 75a35de commit 7e26617
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 28 deletions.
1 change: 0 additions & 1 deletion internal/datastore/ydb/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,4 @@ func AddTablePrefix(query string, tablePathPrefix string) string {
buffer.WriteString(query)

return buffer.String()

}
1 change: 0 additions & 1 deletion internal/datastore/ydb/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ func (r *ydbReader) LookupNamespacesWithNames(
builder = builder.View(ixUqNamespaceLiving)
}
return builder

},
)
if err != nil {
Expand Down
4 changes: 2 additions & 2 deletions internal/datastore/ydb/reader_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build ci && docker

package ydb

import (
Expand Down Expand Up @@ -477,7 +479,6 @@ func TestYDBReaderRelationships(t *testing.T) {
t.Cleanup(func() { yDS.Close() })

err = yDS.driver.Table().Do(context.Background(), func(ctx context.Context, s table.Session) error {

stmt, err := s.Prepare(
ctx,
common.AddTablePrefix(`
Expand Down Expand Up @@ -570,7 +571,6 @@ func TestYDBReaderRelationships(t *testing.T) {
}

require.Equal(t, lo.FromPtr(expect.caveatContext), actualCaveatContext)

}

testQueryRelationships := func(
Expand Down
2 changes: 2 additions & 0 deletions internal/datastore/ydb/readwrite_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build ci && docker

package ydb

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/datastore/ydb/stats_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build ci && docker

package ydb

import (
Expand Down
1 change: 0 additions & 1 deletion internal/datastore/ydb/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ func (y *ydbDatastore) Watch(
type cdcEvent struct {
Key []string
NewImage json.RawMessage
Ts []int
}

type namespaceConfigImage struct {
Expand Down
55 changes: 32 additions & 23 deletions pkg/cmd/datastore/zz_generated.options.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7e26617

Please sign in to comment.