-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix json output for cluster creation
When executing with `--output=json` and `--mode=auto`, plain info logs are printed from the create commands of `oidc-provider` and `operator-roles` causing the output to no longer parse as JSON. Bug was surfaced in #661 and mentioned in #662. Simply add the output flag/terminal check conditional to offending log statements. Test command: ``` rosa create cluster -c <cluster-name> --mode=auto --output=json --sts --yes | jq . ``` Signed-off-by: Brady Pratt <[email protected]>
- Loading branch information
Showing
3 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters