Skip to content

Commit

Permalink
fix: pass parameters to describe function
Browse files Browse the repository at this point in the history
  • Loading branch information
artaasadi committed Dec 19, 2024
1 parent bfdca4f commit 422ab93
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion services/describe/api/jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ type RunBenchmarkResponse struct {

type RunDiscoveryRequest struct {
ResourceTypes []string `json:"resource_types"`
ForceFull bool `json:"force_full"` // force full discovery. only matters if ResourceTypes is empty
IntegrationInfo []IntegrationInfoFilter `json:"integration_info"`
Parameters map[string][]string `json:"parameters"`
}
Expand Down
3 changes: 0 additions & 3 deletions services/describe/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -1503,9 +1503,6 @@ func (h HttpServer) RunDiscovery(ctx echo.Context) error {
}
rtToDescribe := request.ResourceTypes
discoveryType := model2.DiscoveryType_Fast
if request.ForceFull {
discoveryType = model2.DiscoveryType_Full
}
integrationDiscovery := &model2.IntegrationDiscovery{
TriggerID: uint(triggerId),
ConnectionID: integration.IntegrationID,
Expand Down

0 comments on commit 422ab93

Please sign in to comment.