-
Notifications
You must be signed in to change notification settings - Fork 94
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
✨ Add a flag for work agent to set raw json length #366
✨ Add a flag for work agent to set raw json length #366
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qiujian16 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 |
if len(jsonRaw) > maxJsonRawLength { | ||
return nil, fmt.Errorf("the length of returned json raw string for name %s is larger than the maximum length %d", name, maxJsonRawLength) | ||
if len(jsonRaw) > int(s.maxJSONRawLength) { | ||
return nil, fmt.Errorf("the length of returned json raw string for name %s is larger than the maximum length %d", name, maxJSONRawLength) |
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.
s.maxJSONRawLength
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #366 +/- ##
==========================================
+ Coverage 61.30% 61.33% +0.03%
==========================================
Files 132 132
Lines 14032 14036 +4
==========================================
+ Hits 8602 8609 +7
+ Misses 4674 4672 -2
+ Partials 756 755 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2a00b2d
to
33c5808
Compare
LGTM |
/lgtm |
92d4f86
into
open-cluster-management-io:main
Summary
Related issue(s)
Fixes #