@@ -164,7 +164,7 @@ func (s *DeploymentPluginServiceServer[Config, DeployTargetConfig, ApplicationCo
164164 Logger : s .logger ,
165165 }
166166
167- response , err := s .base .BuildQuickSyncStages (ctx , s .commonFields . pluginConfig , input )
167+ response , err := s .base .BuildQuickSyncStages (ctx , s .pluginConfig , input )
168168 if err != nil {
169169 return nil , status .Errorf (codes .Internal , "failed to build quick sync stages: %v" , err )
170170 }
@@ -192,7 +192,7 @@ func (s *DeploymentPluginServiceServer[Config, DeployTargetConfig, ApplicationCo
192192 }
193193
194194 // Get the deploy targets set on the deployment from the piped plugin config.
195- dtNames := request .GetInput ().GetDeployment ().GetDeployTargets (s .commonFields . config .Name )
195+ dtNames := request .GetInput ().GetDeployment ().GetDeployTargets (s .config .Name )
196196 deployTargets := make ([]* DeployTarget [DeployTargetConfig ], 0 , len (dtNames ))
197197 for _ , name := range dtNames {
198198 dt , ok := s .deployTargets [name ]
@@ -203,7 +203,7 @@ func (s *DeploymentPluginServiceServer[Config, DeployTargetConfig, ApplicationCo
203203 deployTargets = append (deployTargets , dt )
204204 }
205205
206- return executeStage (ctx , s .name , s .base , s .commonFields . pluginConfig , deployTargets , client , request , s .logger )
206+ return executeStage (ctx , s .name , s .base , s .pluginConfig , deployTargets , client , request , s .logger )
207207}
208208
209209// StagePluginServiceServer is the gRPC server that handles requests from the piped.
@@ -261,7 +261,7 @@ func (s *StagePluginServiceServer[Config, DeployTargetConfig, ApplicationConfigS
261261 toolRegistry : s .toolRegistry ,
262262 }
263263
264- return executeStage (ctx , s .name , s .base , s .commonFields . pluginConfig , nil , client , request , s .logger ) // TODO: pass the deployTargets
264+ return executeStage (ctx , s .name , s .base , s .pluginConfig , nil , client , request , s .logger ) // TODO: pass the deployTargets
265265}
266266
267267// buildPipelineSyncStages builds the stages that will be executed by the plugin.
0 commit comments