Skip to content

Commit 3f8bdf9

Browse files
committed
Tweak comments and logs
1 parent e8184d8 commit 3f8bdf9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packer/linux/conf/bin/bk-install-elastic-stack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ if [[ -n "${BUILDKITE_AGENT_TAGS:-}" ]]; then
185185
fi
186186
echo "Agent metadata after splitting commas: ${agent_metadata[*]-}"
187187

188-
# Enable git-mirrors
188+
# Enable git-mirrors if a git mirrors path is provided
189189
BUILDKITE_AGENT_GIT_MIRRORS_PATH=""
190190
if [[ "${BUILDKITE_AGENT_ENABLE_GIT_MIRRORS:-false}" == "true" ]]; then
191191
BUILDKITE_AGENT_GIT_MIRRORS_PATH=/var/lib/buildkite-agent/git-mirrors

packer/linux/conf/bin/bk-mount-instance-storage.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ elif [[ "${#devices[@]}" -gt 1 ]]; then
6767
echo Setting readahead to 64k...
6868
blockdev --setra 65536 "$logicalname"
6969
else
70-
echo Expected at least once nvme device, found: "${devices[*]}"
70+
echo Expected at least one nvme device, found: "${devices[*]}"
7171
echo
72-
echo This error is unexpected. Please contact [email protected]
72+
echo This error is unexpected. Please contact [email protected].
7373
exit 1
7474
fi
7575

0 commit comments

Comments
 (0)