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