Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeemster committed Jan 23, 2023
1 parent 825fc52 commit 55a2246
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pkg/transform/snowplow_json_to_collector_payload_thrift.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
collectorpayloadmodel1 "github.com/snowplow/snowbridge/third_party/snowplow/collectorpayload/gen-go/model1"
)

// JSONToCollectorPayloadThriftConfig is a configuration object for the spJSONToCollectorPayloadThrift transformation
type JSONToCollectorPayloadThriftConfig struct {
// jsonToCollectorPayloadThriftConfig is a configuration object for the spJSONToCollectorPayloadThrift transformation
type jsonToCollectorPayloadThriftConfig struct {
}

type jsonToCollectorPayloadThriftAdapter func(i interface{}) (interface{}, error)
Expand Down Expand Up @@ -55,8 +55,8 @@ func jsonToCollectorPayloadThriftConfigFunction(c *JSONToCollectorPayloadThriftC
return SpJSONToCollectorPayloadThrift, nil
}

// JSONToCollectorPayloadThriftConfigPair is a configuration pair for the spJSONToCollectorPayloadThrift transformation
var JSONToCollectorPayloadThriftConfigPair = config.ConfigurationPair{
// jsonToCollectorPayloadThriftConfigPair is a configuration pair for the spJSONToCollectorPayloadThrift transformation
var jsonToCollectorPayloadThriftConfigPair = config.ConfigurationPair{
Name: "spJSONToCollectorPayloadThrift",
Handle: jsonToCollectorPayloadThriftAdapterGenerator(jsonToCollectorPayloadThriftConfigFunction),
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/transform/transformconfig/transform_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var SupportedTransformations = []config.ConfigurationPair{
transform.SetPkConfigPair,
transform.EnrichedToJSONConfigPair,
transform.CollectorPayloadThriftToJSONConfigPair,
transform.JSONToCollectorPayloadThriftConfigPair,
transform.jsonToCollectorPayloadThriftConfigPair,
engine.LuaConfigPair,
engine.JSConfigPair,
}
Expand Down

0 comments on commit 55a2246

Please sign in to comment.