Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
Merge pull request #40 from slhabity/quickfix-37-get-no-longer-return…
Browse files Browse the repository at this point in the history
…s-username

Removed Username from BitBucket representation
  • Loading branch information
cwood authored Oct 10, 2019
2 parents 01bacfe + 3163d5d commit a5663eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bitbucket/resource_default_reviewers.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
type Reviewer struct {
DisplayName string `json:"display_name,omitempty"`
UUID string `json:"uuid,omitempty"`
Username string `json:"username,omitempty"`
Type string `json:"type,omitempty"`
}

Expand Down Expand Up @@ -98,7 +97,7 @@ func resourceDefaultReviewersRead(d *schema.ResourceData, m interface{}) error {
}

for _, reviewer := range reviewers.Values {
terraformReviewers = append(terraformReviewers, reviewer.Username)
terraformReviewers = append(terraformReviewers, reviewer.UUID)
}

if reviewers.Next != "" {
Expand Down

0 comments on commit a5663eb

Please sign in to comment.