Set to force true and remove update func
This commit is contained in:
parent
d1373208aa
commit
c806e8f453
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue