Skip to content

Commit

Permalink
fix: Authentication for plugins. Fixes #8144 (#8147)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Saravanan Balasubramanian <[email protected]>
  • Loading branch information
alexec authored and sarabala1979 committed Apr 17, 2022
1 parent cdd1633 commit 3a425ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/executor/emissary/emissary.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (e emissary) GetOutputStream(_ context.Context, containerName string, combi
name = "combined"
}

return os.Open(filepath.Clean("/var/run/argo/ctr/" + containerName + "/" + name))
return os.Open(filepath.Clean(filepath.Join(common.VarRunArgoPath, "ctr", containerName, name)))
}

func (e emissary) Wait(ctx context.Context, containerNames []string) error {
Expand Down

0 comments on commit 3a425ec

Please sign in to comment.