Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wip
  • Loading branch information
ashwanthgoli committed Oct 11, 2023
commit b64fd407e95b3d6df08162be0998f5e4e6fe1773
4 changes: 4 additions & 0 deletions pkg/logcli/query/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,10 @@ func (q *Query) DoLocalQuery(out output.LogOutput, statistics bool, orgID string

cm := storage.NewClientMetrics()
if useRemoteSchema {
if q.SchemaStore == "" {
return fmt.Errorf("failed to fetch remote schema. -schema-store is not set")
}

client, err := GetObjectClient(q.SchemaStore, conf, cm)
if err != nil {
return err
Expand Down