Skip to content

Commit

Permalink
Addressed review comment
Browse files Browse the repository at this point in the history
Signed-off-by: Abhijit Mukherjee <[email protected]>
  • Loading branch information
mabhi committed Mar 22, 2024
1 parent 66a7308 commit 07945d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/function/kube_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ package function

import (
"context"
"strings"
"time"

"github.com/pkg/errors"
Expand All @@ -30,7 +31,6 @@ import (
"github.com/kanisterio/kanister/pkg/output"
"github.com/kanisterio/kanister/pkg/param"
"github.com/kanisterio/kanister/pkg/progress"
"strings"
)

const (
Expand Down Expand Up @@ -65,7 +65,7 @@ func kubeTask(ctx context.Context, cli kubernetes.Interface, namespace, image st
Command: command,
PodOverride: podOverride,
}
// Mark labels to pods with prefix `jobPrefix`. Add the jobID as reference to the origin for the pod.
// Mark labels to pods with prefix `kanister.io`. Add the jobID as reference to the origin for the pod.
if fields := field.FromContext(ctx); fields != nil {
for _, f := range fields.Fields() {
if strings.HasPrefix(f.Key(), consts.LabelPrefix) {
Expand Down

0 comments on commit 07945d6

Please sign in to comment.