Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Ortel <[email protected]>
  • Loading branch information
jortel committed Mar 22, 2024
1 parent 8caf004 commit 7c0c0b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package addon
import (
"encoding/json"
"fmt"
"os"
"regexp"
"strings"

"github.com/konveyor/tackle2-hub/api"
"github.com/konveyor/tackle2-hub/binding"
"github.com/konveyor/tackle2-hub/task"
"k8s.io/utils/env"
)

// Task API.
Expand Down Expand Up @@ -315,7 +315,7 @@ func (r *EnvInjector) inject(in any) (out any) {
node = strings.Replace(
node,
match[0],
os.Getenv(match[2]),
env.GetString(match[2], match[0]),
-1)
}
out = node
Expand Down

0 comments on commit 7c0c0b3

Please sign in to comment.