Skip to content

Commit

Permalink
fix: trailing whitespace and eof
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeRepko committed Nov 4, 2024
1 parent f582fb7 commit bed42ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/install-nova.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ pushd /opt/genestack/submodules/openstack-helm
--set network.ssh.private_key="$(kubectl -n openstack get secret nova-ssh-keypair -o jsonpath='{.data.private_key}' | base64 -d)"$'\n' \
--post-renderer /etc/genestack/kustomize/kustomize.sh \
--post-renderer-args nova/base $@
popd
popd
2 changes: 1 addition & 1 deletion bin/label-nodes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ INVENTORY_FILE="$1"
label_nodes() {
local group=$1
local label=$2

if grep -q "$group:" $INVENTORY_FILE; then
local nodes=($(grep -A 1 "children:" $INVENTORY_FILE | grep -A 1 " $group:" | grep -Eo "^\s+\S+" | tr -d ' '))
for node in "${nodes[@]}"; do
Expand Down

0 comments on commit bed42ed

Please sign in to comment.