Skip to content

Commit

Permalink
Merge pull request atlassian#60 from jasonwbarnett/fix-xray-policy-re…
Browse files Browse the repository at this point in the history
…ad-function

Set name property in resourceXrayPolicyRead
  • Loading branch information
chb0github authored Mar 22, 2021
2 parents 063fbe5 + 14957e3 commit 93b198b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/artifactory/resource_xray_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,9 @@ func resourceXrayPolicyRead(d *schema.ResourceData, m interface{}) error {
return err
}

if err := d.Set("name", *policy.Name); err != nil {
return err
}
if err := d.Set("type", *policy.Type); err != nil {
return err
}
Expand Down

0 comments on commit 93b198b

Please sign in to comment.