mirror of https://github.com/harness/drone.git
fix: [ML-505]: Fix make wire (#3122)
parent
7b214b58d5
commit
2942fbba69
|
@ -30,7 +30,7 @@ func ProvideAiAgent(
|
|||
authorizer authz.Authorizer,
|
||||
cr *capabilities.Registry,
|
||||
cc *capabilitiesctrl.Controller,
|
||||
) (*GitnessIntelligence, error) {
|
||||
) (Intelligence, error) {
|
||||
return &GitnessIntelligence{
|
||||
authorizer,
|
||||
cr,
|
||||
|
|
|
@ -431,7 +431,7 @@ func initSystem(ctx context.Context, config *types.Config) (*server.System, erro
|
|||
return nil, err
|
||||
}
|
||||
capabilitiesController := capabilities2.ProvideController(registry)
|
||||
harnessIntelligence, err := aiagent.ProvideAiAgent(authorizer, registry, capabilitiesController)
|
||||
intelligence, err := aiagent.ProvideAiAgent(authorizer, registry, capabilitiesController)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
@ -439,7 +439,7 @@ func initSystem(ctx context.Context, config *types.Config) (*server.System, erro
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
aiagentController := aiagent2.ProvideController(authorizer, harnessIntelligence, repoStore, pipelineStore, executionStore, gitInterface, provider, slack)
|
||||
aiagentController := aiagent2.ProvideController(authorizer, intelligence, repoStore, pipelineStore, executionStore, gitInterface, provider, slack)
|
||||
openapiService := openapi.ProvideOpenAPIService()
|
||||
storageDriver, err := api2.BlobStorageProvider(config)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue