Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
Signed-off-by: Julie Vogelman <[email protected]>
  • Loading branch information
juliev0 committed Jan 16, 2025
1 parent dd1b8c4 commit 09404c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/mapper/examples/cat_sleep/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ type CatSleep struct {

func (e *CatSleep) Map(ctx context.Context, keys []string, d mapper.Datum) mapper.Messages {

// sleep for as long as the environment variable indicates (or default if not configured)
sleepSeconds := DEFAULT_SLEEP_SECONDS
secondsString := os.Getenv("SLEEP_SECONDS")
if secondsString == "" {
Expand Down

0 comments on commit 09404c6

Please sign in to comment.