fix typo in pkg

This commit is contained in:
hwdef
2019-08-26 09:25:39 +08:00
parent 12e6930d8a
commit 9b3f577b1d
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.