Set to force true and remove update func

This commit is contained in:
Colin Wood 2016-08-09 09:47:28 -07:00
parent d1373208aa
commit c806e8f453
1 changed files with 2 additions and 4 deletions

View File

@ -21,17 +21,18 @@ func resourceDefaultReviewers() *schema.Resource {
return &schema.Resource{
Create: resourceDefaultReviewersCreate,
Read: resourceDefaultReviewersRead,
Update: resourceDefaultReviewersUpdate,
Delete: resourceDefaultReviewersDelete,
Schema: map[string]*schema.Schema{
"username": {
Type: schema.TypeString,
Required: true,
ForceNew: true
},
"repository": {
Type: schema.TypeString,
Required: true,
ForceNew: true
},
"reviewers": {
Type: schema.TypeSet,
@ -93,9 +94,6 @@ func resourceDefaultReviewersRead(d *schema.ResourceData, m interface{}) error {
return nil
}
func resourceDefaultReviewersUpdate(d *schema.ResourceData, m interface{}) error {
return nil
}
func resourceDefaultReviewersDelete(d *schema.ResourceData, m interface{}) error {
client := m.(*BitbucketClient)