Skip to content

Commit

Permalink
remove hardcoded eventData
Browse files Browse the repository at this point in the history
  • Loading branch information
jliempt authored Apr 29, 2024
1 parent 8b68525 commit f292d3c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/gcpPublishEvent.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ func runGcpPublishEvent(utils gcpPublishEventUtils) error {
var data []byte
var err error

config.EventData = `{"testData": "testValue"}`

data, err = events.NewEvent(config.EventType, config.EventSource).CreateWithJSONData(config.EventData).ToBytes()
if err != nil {
return errors.Wrap(err, "failed to create event data")
Expand Down

0 comments on commit f292d3c

Please sign in to comment.