mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Merge pull request #10346 from jhadvig/comment_fix
Fix NewNotFound method name in comments
This commit is contained in:
		@@ -333,7 +333,7 @@ func NewGenericServerResponse(code int, verb, kind, name, serverMessage string,
 | 
				
			|||||||
	}}
 | 
						}}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// IsNotFound returns true if the specified error was created by NewNotFoundErr.
 | 
					// IsNotFound returns true if the specified error was created by NewNotFound.
 | 
				
			||||||
func IsNotFound(err error) bool {
 | 
					func IsNotFound(err error) bool {
 | 
				
			||||||
	return reasonForError(err) == api.StatusReasonNotFound
 | 
						return reasonForError(err) == api.StatusReasonNotFound
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user