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: change the default value of the client output format in the config #476

Merged
merged 7 commits into from
Mar 29, 2022

Conversation

0Tech
Copy link
Collaborator

@0Tech 0Tech commented Mar 24, 2022

Description

It fixes the confusing behavior discussed in #473.
It's not a bug, but we concluded not to set the default value on the output format in the config file.

closes: #473

Motivation and context

#473

How has this been tested?

Executed tx cli and confirmed the output is in json.
Also confirmed the output of query cli is in yaml.

Tested on Docker image, on Debian bookworm.

Checklist:

  • I followed the contributing guidelines and code of conduct.
  • I have added a relevant changelog to CHANGELOG.md
  • I have added tests to cover my changes.
  • I have updated the documentation accordingly.
  • I have updated API documentation client/docs/swagger-ui/swagger.yaml

@0Tech 0Tech self-assigned this Mar 24, 2022
@0Tech 0Tech changed the title fix: change the default value of output format in the client config fix: change the default value of the client output format in the config Mar 24, 2022
@codecov
Copy link

codecov bot commented Mar 24, 2022

Codecov Report

Merging #476 (a2bd0bb) into main (7075790) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #476   +/-   ##
=======================================
  Coverage   55.78%   55.78%           
=======================================
  Files         719      719           
  Lines       73829    73829           
=======================================
  Hits        41184    41184           
  Misses      29537    29537           
  Partials     3108     3108           
Impacted Files Coverage Δ
client/config/config.go 53.06% <ø> (ø)
client/config/toml.go 55.55% <ø> (ø)

@0Tech 0Tech marked this pull request as ready for review March 24, 2022 11:10
Copy link
Contributor

@brew0722 brew0722 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@zemyblue zemyblue left a comment

Choose a reason for hiding this comment

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

LGTM

@0Tech 0Tech merged commit 4c88b6f into Finschia:main Mar 29, 2022
@0Tech 0Tech deleted the client branch March 29, 2022 02:17
@zemyblue zemyblue mentioned this pull request Oct 27, 2022
5 tasks
@zemyblue zemyblue mentioned this pull request Nov 28, 2022
5 tasks
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.

default output method was changed to 'text' from 'json'
3 participants