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

cmd/gaiad/cmd: replace deprecated ioutil with os.WriteFile (backport #1660) #1661

Merged
merged 2 commits into from
Aug 10, 2022

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Aug 10, 2022

This is an automatic backport of pull request #1660 done by Mergify.
Cherry-pick of 6ac473a has failed:

On branch mergify/bp/release/v7.0.x/pr-1660
Your branch is up to date with 'origin/release/v7.0.x'.

You are currently cherry-picking commit 6ac473a.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   cmd/gaiad/cmd/testnet.go

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

Fixes a problem reported by the linters that ioutil.WriteFile
is deprecated hence we should use os.WriteFile.

(cherry picked from commit 6ac473a)

# Conflicts:
#	cmd/gaiad/cmd/testnet.go
@codecov
Copy link

codecov bot commented Aug 10, 2022

Codecov Report

❗ No coverage uploaded for pull request base (release/v7.0.x@d0884c2). Click here to learn what that means.
The diff coverage is n/a.

@@                Coverage Diff                @@
##             release/v7.0.x    #1661   +/-   ##
=================================================
  Coverage                  ?   15.77%           
=================================================
  Files                     ?       10           
  Lines                     ?     1363           
  Branches                  ?        0           
=================================================
  Hits                      ?      215           
  Misses                    ?     1137           
  Partials                  ?       11           

@mmulji-ic mmulji-ic merged commit b118baa into release/v7.0.x Aug 10, 2022
@mmulji-ic mmulji-ic deleted the mergify/bp/release/v7.0.x/pr-1660 branch August 10, 2022 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant