Skip to content

Commit fa64fcd

Browse files
committed
Remove comment
Signed-off-by: Yoshiki Fujikane <[email protected]>
1 parent d5b9bdf commit fa64fcd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/plugin/sdk/deployment.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,11 @@ func (s *DeploymentPluginServiceServer[Config, DeployTargetConfig]) ExecuteStage
228228
}
229229
}
230230

231-
// The number of deploy targets should be the same as the number of deploy target names set on the deployment.
232231
if len(dtNames) != len(deployTargets) {
233232
return nil, status.Errorf(codes.Internal, "the number of deploy targets in the piped plugin config should be the same as the ones set on the deployment")
234233
}
235234

236-
return executeStage(ctx, s.base, &s.config, deployTargets, client, request, s.logger) // TODO: pass the deployTargets
235+
return executeStage(ctx, s.base, &s.config, deployTargets, client, request, s.logger)
237236
}
238237

239238
// StagePluginServiceServer is the gRPC server that handles requests from the piped.

0 commit comments

Comments
 (0)