mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 12:18:16 +00:00 
			
		
		
		
	hack/verify-golint.sh: add authorative staging packages
This commit is contained in:
		@@ -55,7 +55,7 @@ export IFS=$'\n'
 | 
			
		||||
# as the prefix, however if we run it outside it returns the full path of the file
 | 
			
		||||
# with a leading underscore. We'll need to support both scenarios for all_packages.
 | 
			
		||||
all_packages=(
 | 
			
		||||
	$(go list -e ./... | egrep -v "/(third_party|vendor|staging|generated|clientset_generated)" | sed -e 's|^k8s.io/kubernetes/||' -e "s|^_${KUBE_ROOT}/\?||")
 | 
			
		||||
	$(go list -e ./... | egrep -v "/(third_party|vendor|staging/src/k8s.io/client-go/pkg|generated|clientset_generated)" | sed -e 's|^k8s.io/kubernetes/||' -e "s|^_${KUBE_ROOT}/\?||")
 | 
			
		||||
)
 | 
			
		||||
linted_packages=(
 | 
			
		||||
	$(cat $linted_file)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user