Skip to content

Commit

Permalink
Merge pull request #7 from rebuy-de/fix-data-source
Browse files Browse the repository at this point in the history
fix data source once again
  • Loading branch information
svenwltr committed Jun 21, 2024
2 parents 1224315 + 4947948 commit 3058c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graylog/datasource/system/indices/indexset/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

func setDataToResourceData(d *schema.ResourceData, data map[string]interface{}) error {
id, ok := util.RenameKey(data, "id", "index_set_id")
if err := convert.DataToJSON(data, "rotation_strategy", "retention_strategy"); err != nil {
if err := convert.DataToJSON(data, "rotation_strategy", "retention_strategy", "data_tiering"); err != nil {
return err
}

Expand Down

0 comments on commit 3058c23

Please sign in to comment.