Skip to content
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

fix JSON format error in functional test #2294

Merged
merged 1 commit into from
Oct 24, 2017

Conversation

balamurugana
Copy link
Member

@balamurugana balamurugana commented Oct 22, 2017

Previously error field is not populated properly due to double
formatting error message into JSON string. This patch fixes the issue
by avoid second time formatting in printf command.

@codecov-io
Copy link

codecov-io commented Oct 22, 2017

Codecov Report

Merging #2294 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #2294   +/-   ##
======================================
  Coverage    10.6%   10.6%           
======================================
  Files         100     100           
  Lines        9675    9675           
======================================
  Hits         1026    1026           
  Misses       8514    8514           
  Partials      135     135

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c944874...eedebfd. Read the comment docs.

@deekoder deekoder requested review from poornas and nitisht October 24, 2017 01:13
Copy link
Contributor

@nitisht nitisht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some context on what exactly this PR fixes will be helpful here.

Previously `error` field is not populated properly due to double
formatting error message into JSON string.  This patch fixes the issue
by avoid second time formatting in `printf` command.
@balamurugana balamurugana force-pushed the fix-functional-test-error branch from f31c233 to eedebfd Compare October 24, 2017 06:37
@balamurugana
Copy link
Member Author

@nitisht

Some context on what exactly this PR fixes will be helpful here.

updated

@deekoder deekoder merged commit 79a51e9 into minio:master Oct 24, 2017
@balamurugana balamurugana deleted the fix-functional-test-error branch May 20, 2020 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants