Merge pull request #81916 from hwdef/fix-typo-pkg

fix typo in pkg
This commit is contained in:
Kubernetes Prow Robot
2019-09-26 08:35:24 -07:00
committed by GitHub
5 changed files with 7 additions and 7 deletions

View File

@@ -525,7 +525,7 @@ func (dc *DeploymentController) getReplicaSetsForDeployment(d *apps.Deployment)
//
// It returns a map from ReplicaSet UID to a list of Pods controlled by that RS,
// according to the Pod's ControllerRef.
// NOTE: The pod pointers returned by this method point the the pod objects in the cache and thus
// NOTE: The pod pointers returned by this method point the pod objects in the cache and thus
// shouldn't be modified in any way.
func (dc *DeploymentController) getPodMapForDeployment(d *apps.Deployment, rsList []*apps.ReplicaSet) (map[types.UID][]*v1.Pod, error) {
// Get all Pods that potentially belong to this Deployment.