mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #26528 from johscheuer/hack-update-api-docs
Automatic merge from submit-queue Fixes #26526 - hack/update-api-reference-docs.sh I opened a Pull request to fix this issue https://github.com/kubernetes/kubernetes/issues/26526 The problem is that the update script ignores white spaces but the verify script doesn't which leads to a strange behaviour -> you use the update script but the verify script tells you that the api docs are not up to date.
This commit is contained in:
		@@ -95,7 +95,7 @@ while read file; do
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    # By now, the contents should be normalized and stripped of any
 | 
					    # By now, the contents should be normalized and stripped of any
 | 
				
			||||||
    # auto-managed content.
 | 
					    # auto-managed content.
 | 
				
			||||||
    if diff -Bw >/dev/null <(echo "${original}") <(echo "${generated}"); then
 | 
					    if diff -B >/dev/null <(echo "${original}") <(echo "${generated}"); then
 | 
				
			||||||
      # actual contents same, overwrite generated with original.
 | 
					      # actual contents same, overwrite generated with original.
 | 
				
			||||||
      cp "${OUTPUT}/${file}" "${OUTPUT_TMP}/${file}"
 | 
					      cp "${OUTPUT}/${file}" "${OUTPUT_TMP}/${file}"
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user