terraform/builtin/providers/ns1
Kannan Goundan ab18f60071 provider/ns1/record: Fix "use_client_subnet". (#11368)
The support for "use_client_subnet" was half finished.
- Field was defined in schema.
- ResourceData-to-struct code was present but incorrect.
- struct-to-ResourceData code was missing.

Made the change and verified with manual testing:
1. In NS1 UI, switched "Use Client Subnet" between checked and
   unchecked.
2. In Terraform config file, switched "use_client_subnet" field between
   "true", "false", and omitted.
3. The output of "terraform plan" was as expected in all six cases.
2017-01-29 16:45:13 +00:00
..
meta.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
permissions.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
provider.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
provider_test.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
resource_apikey.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
resource_datafeed.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
resource_datafeed_test.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
resource_datasource.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
resource_datasource_test.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
resource_monitoringjob.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
resource_monitoringjob_test.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
resource_record.go provider/ns1/record: Fix "use_client_subnet". (#11368) 2017-01-29 16:45:13 +00:00
resource_record_test.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
resource_team.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
resource_team_test.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
resource_user.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
resource_zone.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
resource_zone_test.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
string_enum.go Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00