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

Backport of docs: Simplify example jq commands by removing pipes into release/1.16.x #18334

Conversation

hc-github-team-consul-core
Copy link
Collaborator

Backport

This PR is auto-generated from #18327 to be assessed for backporting due to the inclusion of the label backport/1.16.

The below text is copied from the body of the original PR.


Simplify jq command examples by removing pipes to other commands.

Description

Simply command examples with jq by no longer piping data to other commands. jq can internally handle all of the operations that were being performed by the removed commands. This should also make the command examples more portable across non-Unix operating systems.

Testing & Reproduction steps

I've manually tested each of the modified commands to ensure that they return the same output that was generated with the previous command.

Links

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core requested a review from a team as a code owner July 31, 2023 21:01
@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/blake/simplify-jq-commands/unlikely-enough-mullet branch 2 times, most recently from 27b64ac to 2c4b6a8 Compare July 31, 2023 21:01
@hc-github-team-consul-core hc-github-team-consul-core enabled auto-merge (squash) July 31, 2023 21:01
Copy link
Collaborator

Choose a reason for hiding this comment

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

Auto approved Consul Bot automated PR

@github-actions github-actions bot added the type/docs Documentation needs to be created/updated/clarified label Jul 31, 2023
@hc-github-team-consul-core hc-github-team-consul-core merged commit 73d372b into release/1.16.x Jul 31, 2023
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/blake/simplify-jq-commands/unlikely-enough-mullet branch July 31, 2023 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/docs Documentation needs to be created/updated/clarified
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants