Skip to content

Commit

Permalink
remove AWS
Browse files Browse the repository at this point in the history
  • Loading branch information
catsby committed Jun 1, 2016
1 parent dc962fd commit 6bd8391
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion builtin/providers/cloudflare/resource_cloudflare_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func resourceCloudFlareRecord() *schema.Resource {
Delete: resourceCloudFlareRecordDelete,

SchemaVersion: 1,
MigrateState: resourceAwsCloudFlareRecordMigrateState,
MigrateState: resourceCloudFlareRecordMigrateState,
Schema: map[string]*schema.Schema{
"domain": &schema.Schema{
Type: schema.TypeString,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (
"github.com/mitchellh/cloudflare-go"
)

func resourceAwsCloudFlareRecordMigrateState(
func resourceCloudFlareRecordMigrateState(
v int, is *terraform.InstanceState, meta interface{}) (*terraform.InstanceState, error) {
switch v {
case 0:
log.Println("[INFO] Found AWS CloudFlare Record State v0; migrating to v1")
log.Println("[INFO] Found CloudFlare Record State v0; migrating to v1")
return migrateCloudFlareRecordStateV0toV1(is, meta)
default:
return is, fmt.Errorf("Unexpected schema version: %d", v)
Expand Down

0 comments on commit 6bd8391

Please sign in to comment.