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

fix issue creating new ns1 record #51

Merged
merged 1 commit into from
Jul 9, 2018
Merged

Conversation

mioi
Copy link
Contributor

@mioi mioi commented Jun 29, 2018

after PR #49 was merged, there was an issue creating new records. this should fix it.

The exact error I was seeing, via Terraform (using the latest ns1 terraform provider at master):

1 error(s) occurred:

* ns1_record.rec3: 1 error(s) occurred:

* ns1_record.rec3: PUT https://api.nsone.net/v1/zones/serverless.farm/test3.serverless.farm/A: 400 Input validation failed (Value None for field '<obj>.filters' is not of type array)

after PR ns1#49 was merged, there was an issue creating new records.
this should fix it.
Copy link
Contributor

@alistanis alistanis left a comment

Choose a reason for hiding this comment

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

Ah, I didn't realize our API didn't like "filters": null. Good catch!

@alistanis alistanis merged commit 85a531e into ns1:v2 Jul 9, 2018
@mioi mioi deleted the small_bug_20180629 branch July 9, 2018 18:51
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