Skip to content

Commit

Permalink
Merge pull request #7 from CuriosityChina/dev
Browse files Browse the repository at this point in the history
Update dnspod-go
  • Loading branch information
lowstz authored May 8, 2017
2 parents b511c66 + 92abab3 commit 407a9f8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
6 changes: 0 additions & 6 deletions dnspod/resource_dnspod_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,6 @@ func resourceDnspodRecord() *schema.Resource {
return
},
},
"record_id": &schema.Schema{
Type: schema.TypeString,
Computed: true,
},
},
}
}
Expand All @@ -152,7 +148,6 @@ func resourceDnspodRecordCreate(d *schema.ResourceData, meta interface{}) error
if err != nil {
return err
}
d.Set("record_id", resp.Record.ID)
d.SetId(resp.Record.ID)
return nil
}
Expand Down Expand Up @@ -194,7 +189,6 @@ func resourceDnspodRecordUpdate(d *schema.ResourceData, meta interface{}) error
return err
}
log.Printf("After change :%s", resp.Record.ID)
d.Set("record_id", strconv.Itoa(resp.Record.ID))
d.SetId(strconv.Itoa(resp.Record.ID))
return nil
}
Expand Down
16 changes: 9 additions & 7 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion glide.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package: github.com/CuriosityChina/terraform-dnspod
import:
- package: github.com/CuriosityChina/dnspod-go
version: v0.1.3
version: v0.1.6
subpackages:
- client
- service
Expand Down

0 comments on commit 407a9f8

Please sign in to comment.