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{
|
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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue