Skip to content

Commit 2488ec3

Browse files
committed
Also read "horizontal" from the object group
1 parent 17f17eb commit 2488ec3

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

client/model.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ type ReadObjectGroupResponse struct {
2121
Compression string
2222
FilterJSON string
2323
Format string
24+
Horizontal bool
2425
Pattern string
2526
LiveEventsSqsArn string
2627
PartitionBy string

client/operation_read_object_group.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ func mapBucketTaggingToResponse(tagging *s3.GetBucketTaggingOutput, v *ReadObjec
126126
Pattern string `json:"pattern"`
127127
ArrayFlattenDepth *int `json:"arrayFlattenDepth"`
128128
KeepOriginal bool `json:"keepOriginal"`
129+
Horizontal bool `json:"horizontal"`
129130
}
130131
if err := readJSONTagValue(tagging, "cs3.dataset-format", &filterObject); err != nil {
131132
return err
@@ -134,6 +135,7 @@ func mapBucketTaggingToResponse(tagging *s3.GetBucketTaggingOutput, v *ReadObjec
134135
v.Pattern = filterObject.Pattern
135136
v.ArrayFlattenDepth = filterObject.ArrayFlattenDepth
136137
v.KeepOriginal = filterObject.KeepOriginal
138+
v.Horizontal = filterObject.Horizontal
137139

138140
if err := readStringTagValue(tagging, "cs3.predicate", &v.FilterJSON); err != nil {
139141
return err

terraformprovider/resource_object_group.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ func resourceObjectGroupRead(ctx context.Context, data *schema.ResourceData, met
282282
data.Set("name", data.Id())
283283
data.Set("filter_json", resp.FilterJSON)
284284
data.Set("format", resp.Format)
285+
data.Set("horizontal", resp.Horizontal)
285286
data.Set("live_events_sqs_arn", resp.LiveEventsSqsArn)
286287
data.Set("index_retention", resp.IndexRetention)
287288

0 commit comments

Comments
 (0)