Skip to content

Commit 6d87f9c

Browse files
authored
Merge pull request #71 from terraform-providers/f-v2
Update the module to properly use v2
2 parents c838925 + 54ca63d commit 6d87f9c

File tree

132 files changed

+61
-140
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+61
-140
lines changed

cloudstack/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package cloudstack
22

3-
import "github.com/xanzy/go-cloudstack/cloudstack"
3+
import "github.com/xanzy/go-cloudstack/v2/cloudstack"
44

55
// Config is the configuration structure used to instantiate a
66
// new CloudStack client.

cloudstack/data_source_cloudstack_template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"time"
99

1010
"github.com/hashicorp/terraform/helper/schema"
11-
"github.com/xanzy/go-cloudstack/cloudstack"
11+
"github.com/xanzy/go-cloudstack/v2/cloudstack"
1212
)
1313

1414
func dataSourceCloudstackTemplate() *schema.Resource {

cloudstack/metadata.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"log"
55

66
"github.com/hashicorp/terraform/helper/schema"
7-
"github.com/xanzy/go-cloudstack/cloudstack"
7+
"github.com/xanzy/go-cloudstack/v2/cloudstack"
88
)
99

1010
// metadataSchema returns the schema to use for metadata

cloudstack/resource_cloudstack_affinity_group.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strings"
77

88
"github.com/hashicorp/terraform/helper/schema"
9-
"github.com/xanzy/go-cloudstack/cloudstack"
9+
"github.com/xanzy/go-cloudstack/v2/cloudstack"
1010
)
1111

1212
func resourceCloudStackAffinityGroup() *schema.Resource {

cloudstack/resource_cloudstack_affinity_group_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
"github.com/hashicorp/terraform/helper/resource"
88
"github.com/hashicorp/terraform/terraform"
9-
"github.com/xanzy/go-cloudstack/cloudstack"
9+
"github.com/xanzy/go-cloudstack/v2/cloudstack"
1010
)
1111

1212
func TestAccCloudStackAffinityGroup_basic(t *testing.T) {

cloudstack/resource_cloudstack_autoscale_vm_profile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"time"
99

1010
"github.com/hashicorp/terraform/helper/schema"
11-
"github.com/xanzy/go-cloudstack/cloudstack"
11+
"github.com/xanzy/go-cloudstack/v2/cloudstack"
1212
)
1313

1414
func resourceCloudStackAutoScaleVMProfile() *schema.Resource {

cloudstack/resource_cloudstack_autoscale_vm_profile_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
"github.com/hashicorp/terraform/helper/resource"
88
"github.com/hashicorp/terraform/terraform"
9-
"github.com/xanzy/go-cloudstack/cloudstack"
9+
"github.com/xanzy/go-cloudstack/v2/cloudstack"
1010
)
1111

1212
func TestAccCloudStackAutoscaleVMProfile_basic(t *testing.T) {

cloudstack/resource_cloudstack_disk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strings"
66

77
"github.com/hashicorp/terraform/helper/schema"
8-
"github.com/xanzy/go-cloudstack/cloudstack"
8+
"github.com/xanzy/go-cloudstack/v2/cloudstack"
99
)
1010

1111
func resourceCloudStackDisk() *schema.Resource {

cloudstack/resource_cloudstack_disk_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
"github.com/hashicorp/terraform/helper/resource"
88
"github.com/hashicorp/terraform/terraform"
9-
"github.com/xanzy/go-cloudstack/cloudstack"
9+
"github.com/xanzy/go-cloudstack/v2/cloudstack"
1010
)
1111

1212
func TestAccCloudStackDisk_basic(t *testing.T) {

cloudstack/resource_cloudstack_egress_firewall.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
"github.com/hashicorp/go-multierror"
1111
"github.com/hashicorp/terraform/helper/schema"
12-
"github.com/xanzy/go-cloudstack/cloudstack"
12+
"github.com/xanzy/go-cloudstack/v2/cloudstack"
1313
)
1414

1515
func resourceCloudStackEgressFirewall() *schema.Resource {

0 commit comments

Comments
 (0)