From 997761ef412cbf6da9eb3ab58cb57288cf39a03b Mon Sep 17 00:00:00 2001 From: Kyle Mott Date: Thu, 5 Sep 2019 09:45:33 -0700 Subject: [PATCH] Remove commented out code. --- builtin/provisioners/habitat/resource_provisioner.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/builtin/provisioners/habitat/resource_provisioner.go b/builtin/provisioners/habitat/resource_provisioner.go index 6e27e681e..95af1797e 100644 --- a/builtin/provisioners/habitat/resource_provisioner.go +++ b/builtin/provisioners/habitat/resource_provisioner.go @@ -368,17 +368,6 @@ func validateFn(c *terraform.ResourceConfig) (ws []string, es []error) { es = append(es, fmt.Errorf("service '%v': must be a block", data)) } } - //Validate service level configs - //services, ok := c.Get("service") - //if ok { - // for i, svc := range services.([]interface{}) { - // _, ok := svc.(map[string]interface{}) - // if !ok { - // es = append(es, fmt.Errorf("service %d: must be a block", i)) - // continue - // } - // } - //} return ws, es }