mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 02:08:13 +00:00 
			
		
		
		
	Merge pull request #39366 from zdj6373/manager-log
Automatic merge from submit-queue (batch tested with PRs 40527, 40738, 39366, 40609, 40748) Log rectification Log error, modify
This commit is contained in:
		| @@ -109,7 +109,7 @@ func GetControllerOf(controllee *metav1.ObjectMeta) *metav1.OwnerReference { | |||||||
| func (m *PodControllerRefManager) AdoptPod(pod *v1.Pod) error { | func (m *PodControllerRefManager) AdoptPod(pod *v1.Pod) error { | ||||||
| 	// we should not adopt any pods if the controller is about to be deleted | 	// we should not adopt any pods if the controller is about to be deleted | ||||||
| 	if m.controllerObject.DeletionTimestamp != nil { | 	if m.controllerObject.DeletionTimestamp != nil { | ||||||
| 		return fmt.Errorf("cancel the adopt attempt for pod %s because the controlller is being deleted", | 		return fmt.Errorf("cancel the adopt attempt for pod %s because the controller is being deleted", | ||||||
| 			strings.Join([]string{pod.Namespace, pod.Name, string(pod.UID)}, "_")) | 			strings.Join([]string{pod.Namespace, pod.Name, string(pod.UID)}, "_")) | ||||||
| 	} | 	} | ||||||
| 	addControllerPatch := fmt.Sprintf( | 	addControllerPatch := fmt.Sprintf( | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Submit Queue
					Kubernetes Submit Queue