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

Allow empty lists in get_standard_metadata #106

Merged
merged 1 commit into from Aug 28, 2019
Merged

Conversation

dmosorast
Copy link
Contributor

@dmosorast dmosorast commented Aug 28, 2019

Both table-key-properties and valid-replication-keys have [] as valid values. Since this is falsy, it was skipping the write when either was specified as an empty array.

This PR changes it to an explicit None check to allow empty arrays.

@dmosorast dmosorast changed the title Fix/standard metadata Allow empty lists in get_standard_metadata Aug 28, 2019
@dmosorast dmosorast merged commit 8d89bda into master Aug 28, 2019
@dmosorast dmosorast deleted the fix/standard-metadata branch August 28, 2019 17:21
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.

None yet

1 participant