mirror of https://github.com/knative/pkg.git
Find some duplicate words for "the" and delete them (#392)
Signed-off-by: xichengliudui <1693291525@qq.com>
This commit is contained in:
parent
1b67a06e3a
commit
c697d0b0e1
|
@ -153,7 +153,7 @@ func (r ConditionSet) Manage(status interface{}) ConditionManager {
|
|||
}
|
||||
}
|
||||
|
||||
// We tried. This object is not understood by the the condition manager.
|
||||
// We tried. This object is not understood by the condition manager.
|
||||
//panic(fmt.Sprintf("Error converting %T into a ConditionsAccessor", status))
|
||||
// TODO: not sure which way. using panic above means passing nil status panics the system.
|
||||
return conditionsImpl{
|
||||
|
|
|
@ -767,7 +767,7 @@ type CorsPolicy struct {
|
|||
// access. Serialized into Access-Control-Expose-Headers header.
|
||||
ExposeHeaders []string `json:"exposeHeaders,omitempty"`
|
||||
|
||||
// Specifies how long the the results of a preflight request can be
|
||||
// Specifies how long the results of a preflight request can be
|
||||
// cached. Translates to the Access-Control-Max-Age header.
|
||||
MaxAge string `json:"maxAge,omitempty"`
|
||||
|
||||
|
|
|
@ -106,7 +106,7 @@ func New(kubeClientset *kubernetes.Clientset, logf logging.FormatLogger, domain
|
|||
if endpointOverride == "" {
|
||||
var err error
|
||||
// If the domain that the Route controller is configured to assign to Route.Status.Domain
|
||||
// (the domainSuffix) is not resolvable, we need to retrieve the the endpoint and spoof
|
||||
// (the domainSuffix) is not resolvable, we need to retrieve the endpoint and spoof
|
||||
// the Host in our requests.
|
||||
e, err = ingress.GetIngressEndpoint(kubeClientset)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue