Skip to content

Commit ce6af82

Browse files
committed
fix comment
1 parent 72155f0 commit ce6af82

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

agent/agent.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,10 @@ func (a *agent) run(ctx context.Context) error {
884884

885885
// updateCommandEnv updates the provided command environment with the
886886
// following set of environment variables:
887-
// -
887+
// - Predefined workspace environment variables
888+
// - Environment variables currently set (overriding predefined)
889+
// - Environment variables passed via the agent manifest (overriding predefined and current)
890+
// - Agent-level environment variables (overriding all)
888891
func (a *agent) updateCommandEnv(current []string) (updated []string, err error) {
889892
manifest := a.manifest.Load()
890893
if manifest == nil {

0 commit comments

Comments
 (0)