Skip to content

Commit

Permalink
fix project upsert
Browse files Browse the repository at this point in the history
  • Loading branch information
23doors committed Sep 24, 2019
1 parent 6eb6b51 commit 6f7e241
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spinnaker/resource_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ func resourceProjectExists(data *schema.ResourceData, meta interface{}) (bool, e

func projectFromResource(data *schema.ResourceData) *Project {
prj := &Project{
ID: data.Id(),
Name: data.Get("name").(string),
Email: data.Get("email").(string),
Config: &ProjectConfig{
Expand Down

0 comments on commit 6f7e241

Please sign in to comment.