Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
m-Bilal committed Oct 18, 2024
1 parent d503ade commit 0122ae6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion connector/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (
"encoding/json"
"fmt"

"github.com/hasura/ndc-elasticsearch/elasticsearch"
"github.com/hasura/ndc-elasticsearch/types"
"github.com/hasura/ndc-sdk-go/connector"
"github.com/hasura/ndc-sdk-go/schema"
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/trace"
"github.com/hasura/ndc-elasticsearch/elasticsearch"
)

// Query executes a query request.
Expand Down
4 changes: 2 additions & 2 deletions elasticsearch/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/elastic/go-elasticsearch/v8"
)

const esMaxResultSize = 10000;
const esMaxResultSize = 10000
const DEFAULT_RESULT_SIZE_KEY = "esDefaultResultSize"

// getConfigFromEnv retrieves elastic search configuration from environment variables.
Expand Down Expand Up @@ -66,4 +66,4 @@ func GetDefaultResultSize() int {
}

return size
}
}

0 comments on commit 0122ae6

Please sign in to comment.