Skip to content
This repository has been archived by the owner on Oct 27, 2023. It is now read-only.

fix: use the same output for surveys as for logs #2

Merged
merged 6 commits into from
Aug 30, 2023

Conversation

malept
Copy link
Member

@malept malept commented Aug 30, 2023

This way we can use --credential-process with the prompts.

This PR is basically Jesse's branch that he PR'd upstream, but with the "latest" changes from the default branch merged in. I tested it on Linux and it works as expected.

jkinkead and others added 5 commits September 5, 2022 15:34
Add a package variable to hold the survey output writer and a setter for it.

Add a helper to generate a survey option using the writer for stdout.

Initialize the survey output to be the same as for the log module.
@malept malept requested a review from a team August 30, 2023 23:03
pkg/prompter/survey.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Patch has no changes to coverable lines.

📢 Thoughts on this report? Let us know!.

Copy link

@joeysmithoutreach joeysmithoutreach left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me

@malept malept merged commit 834395d into release Aug 30, 2023
10 checks passed
@malept malept deleted the survey_to_log_stream branch August 30, 2023 23:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants