Skip to content

Commit

Permalink
Fix reserved field name
Browse files Browse the repository at this point in the history
  • Loading branch information
SerCeMan committed Nov 11, 2017
1 parent 9dfe71b commit 063d18d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions buildkite/resource_pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ func resourcePipeline() *schema.Resource {
},

Schema: map[string]*schema.Schema{
"id": &schema.Schema{
Type: schema.TypeString,
Computed: true,
},
"slug": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Expand Down Expand Up @@ -162,7 +158,6 @@ type Pipeline struct {
}

type BuildkiteProvider struct {
Id string `json:"id"`
Settings map[string]interface{} `json:"settings"`
WebhookURL string `json:"webhook_url"`
}
Expand Down Expand Up @@ -251,7 +246,6 @@ func DeletePipeline(d *schema.ResourceData, meta interface{}) error {

func updatePipelineFromAPI(d *schema.ResourceData, p *Pipeline) {
d.SetId(p.Slug)
d.Set("id", p.Id)
d.Set("env", p.Environment)
d.Set("name", p.Name)
d.Set("description", p.Description)
Expand Down

0 comments on commit 063d18d

Please sign in to comment.