Skip to content

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

Merged
hc-github-team-consul-core merged 1 commit into
release/1.16.xfrom
backport/blake/simplify-jq-commands/unlikely-enough-mullet
Jul 31, 2023
Merged

Backport of docs: Simplify example jq commands by removing pipes into release/1.16.x#18334
hc-github-team-consul-core merged 1 commit into
release/1.16.xfrom
backport/blake/simplify-jq-commands/unlikely-enough-mullet

Conversation

@hc-github-team-consul-core
Copy link
Copy Markdown
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
Copy Markdown
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