From b8b854e481da8cebfedaa04ff997356c1a53b122 Mon Sep 17 00:00:00 2001 From: Arthur Pitman Date: Tue, 26 Apr 2022 13:30:22 +0200 Subject: [PATCH] Fix comments Signed-off-by: Arthur Pitman --- pkg/lib/v0_2_0/keptn.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/lib/v0_2_0/keptn.go b/pkg/lib/v0_2_0/keptn.go index aba85677c..a17c01a59 100644 --- a/pkg/lib/v0_2_0/keptn.go +++ b/pkg/lib/v0_2_0/keptn.go @@ -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 {