-
Notifications
You must be signed in to change notification settings - Fork 229
Vendor SDK for function-logs #620
Vendor SDK for function-logs #620
Conversation
Just a comment on the wrapping of the commit message. What width are you using as a template? It seems too narrow. |
@martindekov FYI I think the testing of the build logs may be irrelevant here since they are not using the OpenFaaS REST API, they are simply the output of the of-builder service. Can you confirm if that's your understanding too? |
I will need to re-visit this change as per your comment. |
Thanks Martin |
b77b36c
to
a0ccde9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have left a comment, other changes looks fine to me.
Vendor faas-cli SDK for function logs instead of creating custom http requests. Also rewriting unit tests and removing excess error handling which is moved in the SDK and is excessive as we don't parse JSON into the function anymore Signed-off-by: Martin Dekov <mvdekov@gmail.com>
a0ccde9
to
5fded2f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, given the testing and approval from @viveksyngh
Vendor faas-cli SDK for function logs
instead of creating custom http requests.
Also rewriting unit tests and removing
excess error handling which is moved in
the SDK and is excessive as we don't
parse JSON into the function anymore
Signed-off-by: Martin Dekov mvdekov@gmail.com
Description
Part of #609
How Has This Been Tested?
On my own private instance with image containing the change
martindekov/function-logs:0.3.0-rc3
:functions/function-logs:0.0.2
commit log output:https://github.com/martindekov/push2/runs/509201597
martindekov/function-logs:0.3.0-rc3
commit log output:https://github.com/martindekov/push2/runs/509210079
UI's
Build Logs
with same image:How are existing users impacted? What migration steps/scripts do we need?
N/A Internal change
Checklist:
I have:
git commit -s