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

Add --continue-on-error support for the grr export command #567

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

K-Phoen
Copy link
Member

@K-Phoen K-Phoen commented Jan 17, 2025

Closes #562

This makes the grr export function consistent with grr apply and grr pull when it comes to error management.

@K-Phoen K-Phoen self-assigned this Jan 17, 2025
@K-Phoen K-Phoen requested a review from a team as a code owner January 17, 2025 13:59
Comment on lines -56 to -64
// Info announces a message in green (to stderr)
func InfoStderr(obj fmt.Stringer, msg string) {
if obj == nil {
os.Stderr.WriteString(green(msg) + "\n")
} else {
os.Stderr.WriteString(fmt.Sprintf("%s %s\n", obj.String(), green(msg)))
}
}

Copy link

Choose a reason for hiding this comment

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

Was this not used?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup, so I just drive-by deleted it :)

@K-Phoen K-Phoen merged commit 478cd70 into main Jan 17, 2025
7 checks passed
@K-Phoen K-Phoen deleted the export-continue-on-error branch January 17, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: grr export continue on error flag
2 participants