Merge pull request #42723 from FengyunPan/update_description

Automatic merge from submit-queue

Update the description to match function

The description of NewReplicaSetController() does not match
its function, and the description of NewDeploymentController()
does not match its function. Let's update their descriptions.



**What this PR does / why we need it**:

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
```
This commit is contained in:
Kubernetes Submit Queue 2017-03-24 11:27:50 -07:00 committed by GitHub
commit 1e092179b5
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ type DeploymentController struct {
defaultPlanner *planner.Planner
}
// NewclusterController returns a new cluster controller
// NewDeploymentController returns a new deployment controller
func NewDeploymentController(federationClient fedclientset.Interface) *DeploymentController {
broadcaster := record.NewBroadcaster()
broadcaster.StartRecordingToSink(eventsink.NewFederatedEventSink(federationClient))

View File

@ -109,7 +109,7 @@ type ReplicaSetController struct {
defaultPlanner *planner.Planner
}
// NewclusterController returns a new cluster controller
// NewReplicaSetController returns a new replicaset controller
func NewReplicaSetController(federationClient fedclientset.Interface) *ReplicaSetController {
broadcaster := record.NewBroadcaster()
broadcaster.StartRecordingToSink(eventsink.NewFederatedEventSink(federationClient))