Merge pull request #4402 from stack72/gofmt_errors_3

Fixing yet more gofmt errors with imports
This commit is contained in:
Clint 2015-12-21 08:24:46 -06:00
commit 5fb6cc2811
8 changed files with 15 additions and 7 deletions

View File

@ -4,9 +4,10 @@ import (
"bytes" "bytes"
"fmt" "fmt"
"regexp"
"github.com/hashicorp/terraform/helper/hashcode" "github.com/hashicorp/terraform/helper/hashcode"
"github.com/hashicorp/terraform/helper/schema" "github.com/hashicorp/terraform/helper/schema"
"regexp"
) )
func resourceDockerContainer() *schema.Resource { func resourceDockerContainer() *schema.Resource {

View File

@ -3,6 +3,7 @@ package postgresql
import ( import (
"database/sql" "database/sql"
"fmt" "fmt"
_ "github.com/lib/pq" //PostgreSQL db _ "github.com/lib/pq" //PostgreSQL db
) )

View File

@ -2,6 +2,7 @@ package vcd
import ( import (
"fmt" "fmt"
"github.com/hashicorp/terraform/helper/schema" "github.com/hashicorp/terraform/helper/schema"
) )

View File

@ -2,10 +2,11 @@ package vcd
import ( import (
"fmt" "fmt"
"github.com/hashicorp/terraform/helper/schema"
types "github.com/hmrc/vmware-govcd/types/v56"
"log" "log"
"strings" "strings"
"github.com/hashicorp/terraform/helper/schema"
types "github.com/hmrc/vmware-govcd/types/v56"
) )
func resourceVcdFirewallRules() *schema.Resource { func resourceVcdFirewallRules() *schema.Resource {

View File

@ -5,10 +5,11 @@ import (
"bytes" "bytes"
"fmt" "fmt"
"strings"
"github.com/hashicorp/terraform/helper/hashcode" "github.com/hashicorp/terraform/helper/hashcode"
"github.com/hashicorp/terraform/helper/schema" "github.com/hashicorp/terraform/helper/schema"
types "github.com/hmrc/vmware-govcd/types/v56" types "github.com/hmrc/vmware-govcd/types/v56"
"strings"
) )
func resourceVcdNetwork() *schema.Resource { func resourceVcdNetwork() *schema.Resource {

View File

@ -2,6 +2,7 @@ package vcd
import ( import (
"fmt" "fmt"
"github.com/hashicorp/terraform/helper/schema" "github.com/hashicorp/terraform/helper/schema"
) )

View File

@ -2,9 +2,10 @@ package vcd
import ( import (
"fmt" "fmt"
"log"
"github.com/hashicorp/terraform/helper/schema" "github.com/hashicorp/terraform/helper/schema"
types "github.com/hmrc/vmware-govcd/types/v56" types "github.com/hmrc/vmware-govcd/types/v56"
"log"
) )
func resourceVcdVApp() *schema.Resource { func resourceVcdVApp() *schema.Resource {

View File

@ -2,11 +2,12 @@ package vcd
import ( import (
"fmt" "fmt"
"strconv"
"time"
"github.com/hashicorp/terraform/helper/resource" "github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/helper/schema" "github.com/hashicorp/terraform/helper/schema"
types "github.com/hmrc/vmware-govcd/types/v56" types "github.com/hmrc/vmware-govcd/types/v56"
"strconv"
"time"
) )
func expandIPRange(configured []interface{}) types.IPRanges { func expandIPRange(configured []interface{}) types.IPRanges {