@@ -158,7 +158,7 @@ func (s *DeploymentPluginServiceServer[Config, DeployTargetConfig]) DetermineStr
158158 return nil , status .Errorf (codes .Unimplemented , "method DetermineStrategy not implemented" )
159159}
160160func (s * DeploymentPluginServiceServer [Config , DeployTargetConfig ]) BuildPipelineSyncStages (ctx context.Context , request * deployment.BuildPipelineSyncStagesRequest ) (* deployment.BuildPipelineSyncStagesResponse , error ) {
161- return buildPipelineSyncStages (ctx , s .base , nil , nil , request ) // TODO: pass the real config and client
161+ return buildPipelineSyncStages (ctx , s .base , & s . config , nil , request ) // TODO: pass the real client
162162}
163163func (s * DeploymentPluginServiceServer [Config , DeployTargetConfig ]) BuildQuickSyncStages (context.Context , * deployment.BuildQuickSyncStagesRequest ) (* deployment.BuildQuickSyncStagesResponse , error ) {
164164 return nil , status .Errorf (codes .Unimplemented , "method BuildQuickSyncStages not implemented" )
@@ -215,7 +215,7 @@ func (s *PipelineSyncPluginServiceServer[Config, DeployTargetConfig]) DetermineS
215215 return & deployment.DetermineStrategyResponse {Unsupported : true }, nil
216216}
217217func (s * PipelineSyncPluginServiceServer [Config , DeployTargetConfig ]) BuildPipelineSyncStages (ctx context.Context , request * deployment.BuildPipelineSyncStagesRequest ) (* deployment.BuildPipelineSyncStagesResponse , error ) {
218- return buildPipelineSyncStages (ctx , s .base , nil , nil , request ) // TODO: pass the real config and client
218+ return buildPipelineSyncStages (ctx , s .base , & s . config , nil , request ) // TODO: pass the real client
219219}
220220func (s * PipelineSyncPluginServiceServer [Config , DeployTargetConfig ]) BuildQuickSyncStages (context.Context , * deployment.BuildQuickSyncStagesRequest ) (* deployment.BuildQuickSyncStagesResponse , error ) {
221221 return nil , status .Errorf (codes .Unimplemented , "method BuildQuickSyncStages not implemented" )
0 commit comments