Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Pitman <[email protected]>
  • Loading branch information
arthurpitman committed Apr 26, 2022
1 parent ca11d8f commit b8b854e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/lib/v0_2_0/keptn.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ func (k *Keptn) SendTaskStatusChangedEventWithContext(ctx context.Context, data
return k.sendEventWithBaseEventContext(ctx, data, source, err, outEventType)
}

// SendTaskStartedEvent sends a .finished event for the incoming .triggered event the KeptnHandler was initialized with.
// SendTaskFinishedEvent sends a .finished event for the incoming .triggered event the KeptnHandler was initialized with.
// It returns the ID of the sent CloudEvent or an error.
func (k *Keptn) SendTaskFinishedEvent(data keptn.EventProperties, source string) (string, error) {
return k.SendTaskFinishedEventWithContext(context.TODO(), data, source)
}

// SendTaskStartedEventWithContext sends a .finished event for the incoming .triggered event the KeptnHandler was initialized with.
// SendTaskFinishedEventWithContext sends a .finished event for the incoming .triggered event the KeptnHandler was initialized with.
// It returns the ID of the sent CloudEvent or an error.
func (k *Keptn) SendTaskFinishedEventWithContext(ctx context.Context, data keptn.EventProperties, source string) (string, error) {
if k.CloudEvent == nil {
Expand Down

0 comments on commit b8b854e

Please sign in to comment.