Merge pull request #4402 from stack72/gofmt_errors_3
Fixing yet more gofmt errors with imports
This commit is contained in:
commit
5fb6cc2811
|
@ -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 {
|
||||||
|
|
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@ package vcd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/hashicorp/terraform/helper/schema"
|
"github.com/hashicorp/terraform/helper/schema"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -2,6 +2,7 @@ package vcd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/hashicorp/terraform/helper/schema"
|
"github.com/hashicorp/terraform/helper/schema"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue