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

Preserve resource format when saving a resource via grr serve #512

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

K-Phoen
Copy link
Member

@K-Phoen K-Phoen commented Oct 29, 2024

While editing a dashboard via grr serve – plain JSON, with no envelope – I was surprised to see that Grizzly wrote my update to disk in YAML, with an envelope.

This PR changes that behavior. Dashboards saved via grr serve are now written in their original format.

@K-Phoen K-Phoen self-assigned this Oct 29, 2024
@K-Phoen K-Phoen requested a review from a team as a code owner October 29, 2024 21:32
@K-Phoen K-Phoen merged commit 470d68c into main Oct 30, 2024
7 checks passed
@K-Phoen K-Phoen deleted the serve-honor-resource-original-format branch October 30, 2024 12:53
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.

2 participants