Skip to content

Commit 1d97276

Browse files
authored
Update comments for related to un-exporting the variable.
1 parent 53fd85a commit 1d97276

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/pipelines/agents/docker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ Next, create the Dockerfile.
325325
AZP_TOKEN=$(az account get-access-token --query accessToken --output tsv)
326326
echo "Token retrieved"
327327
328-
# Ensure credentials are not visible to the agent by ensuring it is a local variable only
328+
# Ensure credentials are not visible to the agent by un-exporting the variable
329329
export -n AZP_CLIENTSECRET
330330
fi
331331
@@ -339,7 +339,7 @@ Next, create the Dockerfile.
339339
fi
340340
echo -n "${AZP_TOKEN}" > "${AZP_TOKEN_FILE}"
341341
342-
# Ensure credentials are not visible to the agent by ensuring it is a local variable only
342+
# Ensure credentials are not visible to the agent by un-exporting the variable
343343
export -n AZP_TOKEN
344344
}
345345

0 commit comments

Comments
 (0)