Skip to content

Commit

Permalink
Use snake case instead of camel case to set up index_boost from confi…
Browse files Browse the repository at this point in the history
…guration
  • Loading branch information
aperdizs committed Sep 7, 2023
1 parent c33e947 commit 11cedf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gfw/resource_dataset.go
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ func schemaToDatasetConfiguration(schema map[string]interface{}) api.DatasetConf
Bucket: schema["bucket"].(string),
Folder: schema["folder"].(string),
Index: schema["index"].(string),
IndexBoost: schema["indexBoost"].(float64),
IndexBoost: schema["index_boost"].(float64),
GeometryType: schema["geometry_type"].(string),
PropertyToInclude: schema["property_to_include"].(string),
FilePath: schema["file_path"].(string),
Expand Down Expand Up @@ -799,7 +799,7 @@ func flattenDatasetConfiguration(config api.DatasetConfiguration) interface{} {
a["intervals"] = config.Intervals
a["num_layers"] = config.NumLayers
a["index"] = config.Index
a["indexBoost"] = config.IndexBoost
a["index_boost"] = config.IndexBoost
a["version"] = config.Version
a["translate"] = config.Translate
a["num_bytes"] = config.NumBytes
Expand Down

0 comments on commit 11cedf7

Please sign in to comment.