-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kserve: do not call ApplyParams for the empty list #1179
kserve: do not call ApplyParams for the empty list #1179
Conversation
thanks for the fix, it is introduced without intention.after offline discussion, we realized this caller is not necessary at all. |
The call is not need since the code just declare empty parameters list: var imageParamMap = map[string]string{} Fixes the issue of calling ApplyParams for non-enabled case. Signed-off-by: Yauheni Kaliuta <ykaliuta@redhat.com>
49d5cd4
to
41382ac
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: zdtsw The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest-required |
db144ed
into
opendatahub-io:incubation
…ices#1179) The call is not need since the code just declare empty parameters list: var imageParamMap = map[string]string{} Fixes the issue of calling ApplyParams for non-enabled case. Signed-off-by: Yauheni Kaliuta <ykaliuta@redhat.com> (cherry picked from commit db144ed)
The call is not need since the code just declare empty parameters list: var imageParamMap = map[string]string{} Fixes the issue of calling ApplyParams for non-enabled case. Signed-off-by: Yauheni Kaliuta <ykaliuta@redhat.com> (cherry picked from commit db144ed)
The call is not need since the code just declare empty parameters list:
var imageParamMap = map[string]string{}
Fixes the issue of calling ApplyParams for non-enabled case.
Credits-to: Wen Zhou wenzhou@redhat.com
Description
How Has This Been Tested?
Screenshot or short clip
Merge criteria