Chase the update to the out parameter: `s/services/service/g`

This commit is contained in:
Sean Chittenden 2017-02-16 13:58:08 -08:00
parent e7a8f25388
commit 99d91d1f28
No known key found for this signature in database
GPG Key ID: 4EBC9DC16C2E5E16
1 changed files with 14 additions and 14 deletions

View File

@ -15,20 +15,20 @@ func TestAccDataConsulCatalogService_basic(t *testing.T) {
Config: testAccDataConsulCatalogServiceConfig,
Check: resource.ComposeTestCheckFunc(
testAccCheckDataSourceValue("data.consul_catalog_service.read", "datacenter", "dc1"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.#", "1"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.address", "<all>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.create_index", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.enable_tag_override", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.id", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.modify_index", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.name", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.node_address", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.node_id", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.node_meta.%", "0"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.node_name", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.port", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.tagged_addresses.%", "2"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.tags.#", "0"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.#", "1"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.address", "<all>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.create_index", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.enable_tag_override", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.id", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.modify_index", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.name", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.node_address", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.node_id", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.node_meta.%", "0"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.node_name", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.port", "<any>"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.tagged_addresses.%", "2"),
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.tags.#", "0"),
),
},
},