mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04:00 
			
		
		
		
	chore: Upgrade to golangci-lint v2 (#7236)
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
This commit is contained in:
		| @@ -36,7 +36,7 @@ func ToPod(obj meta.Object) (meta.Object, error) { | ||||
| 		Name:      apiPod.GetName(), | ||||
| 		Labels:    apiPod.GetLabels(), | ||||
| 	} | ||||
| 	t := apiPod.ObjectMeta.DeletionTimestamp | ||||
| 	t := apiPod.DeletionTimestamp | ||||
| 	if t != nil && !(*t).Time.IsZero() { | ||||
| 		// if the pod is in the process of termination, return an error so it can be ignored | ||||
| 		// during add/update event processing | ||||
|   | ||||
		Reference in New Issue
	
	Block a user