Skip to content

Commit e18bb9c

Browse files
author
Ravi Tandon
committed
Merge pull request #236 in ORC/terraform-provider from ratandon/Formatting to dev
Squashed commit of the following: commit 570b3b78460db5125fcf1ab99d39e23bf797564f Author: Ravi Tandon <[email protected]> Date: Wed May 23 13:29:53 2018 -0700 Remove compartmentId comment that keeps causing formatting errors with gofmt during build and commit
1 parent 980d557 commit e18bb9c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

provider/core_images_data_source.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,7 @@ func (s *ImagesDataSourceCrud) SetData() {
151151
resources := []map[string]interface{}{}
152152

153153
for _, r := range s.Res.Items {
154-
image := map[string]interface{}{
155-
// "compartment_id": *r.CompartmentId,
156-
}
154+
image := map[string]interface{}{}
157155

158156
// The spec marks compartmentId as a required field, but the service doesn't return it for official images.
159157
if r.CompartmentId != nil {

0 commit comments

Comments
 (0)