Skip to content

Commit

Permalink
feat: use unstrict endpoint from reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Jan 20, 2025
1 parent 67a38a9 commit fb089b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/pkg/reporter/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func GetDeviatingAggregates(latestSubmittedData *sync.Map, latestData *sync.Map,
}

func GetLatestDataRest(ctx context.Context, name []string) (map[string]SubmissionData, error) {
url := fmt.Sprintf("http://orakl-dal.orakl.svc.cluster.local/latest-data-feeds/%s", strings.Join(name, ","))
url := fmt.Sprintf("http://orakl-dal.orakl.svc.cluster.local/latest-data-feeds-unstrict/%s", strings.Join(name, ","))
resp, err := request.Request[[]RawSubmissionData](
request.WithEndpoint(url),
request.WithHeaders(map[string]string{"X-API-Key": secrets.GetSecret("API_KEY")}),
Expand Down

0 comments on commit fb089b4

Please sign in to comment.