You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 25, 2023. It is now read-only.
returnnil, errors.Errorf("Multiple resources are matched by %q: %s. A group-qualified plural name must be provided.", key, strings.Join(matchedResources, ", "))
132
+
errs=append(errs, errors.Errorf("Multiple resources are matched by %q: %s. A group-qualified plural name must be provided.", key, strings.Join(matchedResources, ", ")))
133
+
returnnil, apierrors.NewAggregate(errs)
129
134
}
130
135
131
136
iftargetResource!=nil {
137
+
klog.Warningf("Api resource found with err %v, error ignored.", apierrors.NewAggregate(errs))
132
138
returntargetResource, nil
133
139
}
134
140
135
-
returnnil, errors.Errorf("Unable to find api resource named %q.", key)
141
+
errs=append(errs, errors.Errorf("Unable to find api resource named %q.", key))
0 commit comments