From c5e861c0491dd03b3e701c0daf11164561a537a4 Mon Sep 17 00:00:00 2001 From: Guillaume Giamarchi Date: Wed, 18 Feb 2015 00:52:54 +0100 Subject: [PATCH] Remove useless code --- .../openstack/resource_openstack_fw_rule_v2.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/builtin/providers/openstack/resource_openstack_fw_rule_v2.go b/builtin/providers/openstack/resource_openstack_fw_rule_v2.go index 3d6b4a51b..f3aacf510 100644 --- a/builtin/providers/openstack/resource_openstack_fw_rule_v2.go +++ b/builtin/providers/openstack/resource_openstack_fw_rule_v2.go @@ -110,18 +110,6 @@ func resourceFirewallRuleCreate(d *schema.ResourceData, meta interface{}) error d.SetId(rule.ID) - d.Set("name", rule.Name) - d.Set("description", rule.Description) - d.Set("protocol", rule.Protocol) - d.Set("action", rule.Action) - d.Set("ip_version", rule.IPVersion) - d.Set("source_ip_address", rule.SourceIPAddress) - d.Set("destination_ip_address", rule.DestinationIPAddress) - d.Set("source_port", rule.SourcePort) - d.Set("destination_port", rule.DestinationPort) - d.Set("enabled", rule.Enabled) - d.Set("tenant_id", rule.TenantID) - return nil }