Skip to content

Commit

Permalink
skip Adding odo_robot_key in test logs
Browse files Browse the repository at this point in the history
Signed-off-by: anandrkskd <[email protected]>
  • Loading branch information
anandrkskd committed Dec 8, 2022
1 parent 9815b60 commit 4e63b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/helper/helper_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func runningCmd(cmd *exec.Cmd) string {
prog := filepath.Base(cmd.Path)
var env []string
for _, e := range cmd.Env {
if strings.HasPrefix(e, "ODO_") || e == TelemetryCaller {
if strings.HasPrefix(e, "ODO_") || e == TelemetryCaller && e != "ODO_ROBOT_KEY" {
env = append(env, e)
}
}
Expand Down

0 comments on commit 4e63b5e

Please sign in to comment.