-
Notifications
You must be signed in to change notification settings - Fork 73
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
Dump JSON values properly. #1660
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left a minor comment, but otherwise LGTM, thanks for the contribution, and sorry that this has missed our radar for so long
settings/settings.go
Outdated
vs = vt | ||
default: | ||
// Re-encode complex types as JSON. | ||
b, _ := json.Marshal(v) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add error handling here, just to be safe
@@ -42,7 +42,7 @@ var ( | |||
|
|||
const ( | |||
airflowConnectionList = "airflow connections list -o yaml" | |||
ariflowPoolsList = "airflow pools list -o yaml" | |||
airflowPoolsList = "airflow pools list -o yaml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
appreciate squashing typos, and leaving the code that much better 🙂
Description
Dump JSON values properly.
🎟 Issue(s)
Fixes #1311
🧪 Functional Testing
Ran
make test
,make lint
📸 Screenshots
📋 Checklist
make test
before taking out of draftmake lint
before taking out of draft