provider/circonus: Remove ValidateFunc from Computed-only field

This commit is contained in:
Radek Simko 2017-04-23 12:40:17 +02:00
parent 9867ce4dde
commit f95b37638d
No known key found for this signature in database
GPG Key ID: 6823F3DCCE01BB19
1 changed files with 2 additions and 4 deletions

View File

@ -6,7 +6,6 @@ import (
"strings"
"github.com/circonus-labs/circonus-gometrics/api"
"github.com/circonus-labs/circonus-gometrics/api/config"
"github.com/hashicorp/errwrap"
"github.com/hashicorp/terraform/helper/hashcode"
"github.com/hashicorp/terraform/helper/schema"
@ -85,9 +84,8 @@ func resourceMetricCluster() *schema.Resource {
// Out parameters
metricClusterIDAttr: &schema.Schema{
Computed: true,
Type: schema.TypeString,
ValidateFunc: validateRegexp(metricClusterIDAttr, config.MetricClusterCIDRegex),
Computed: true,
Type: schema.TypeString,
},
}),
}