Skip to content

Commit

Permalink
fix example name
Browse files Browse the repository at this point in the history
  • Loading branch information
lovromazgon committed Aug 6, 2024
1 parent e8d3d9d commit 466039d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func ExampleConvertProcessor_intTotime() {
timeObj := time.Date(2024, 1, 2, 12, 34, 56, 123456789, time.UTC)

exampleutil.RunExample(p, exampleutil.Example{
Summary: "Convert `string` to `time`",
Summary: "Convert `int` to `time`",
Description: "This example takes an `int` in field `.Payload.After.createdAt` and parses it as a unix timestamp into a `time.Time` value.",
Config: config.Config{"field": ".Payload.After.createdAt", "type": "time"},
Have: opencdc.Record{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"examples": [
{
"summary": "Convert `string` to `time`",
"summary": "Convert `int` to `time`",
"description": "This example takes an `int` in field `.Payload.After.createdAt` and parses it as a unix timestamp into a `time.Time` value.",
"config": {
"field": ".Payload.After.createdAt",
Expand Down

0 comments on commit 466039d

Please sign in to comment.