From 826274c8676f72f850b676c6db5b2caf2ef1f956 Mon Sep 17 00:00:00 2001 From: Joakim Roubert Date: Thu, 14 May 2020 08:20:00 +0200 Subject: [PATCH] Updates after code review Add double quotes at assignments as requested by phenixblue. Signed-off-by: Joakim Roubert --- cluster/gce/gci/configure-helper.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cluster/gce/gci/configure-helper.sh b/cluster/gce/gci/configure-helper.sh index 7992c6985c6..09f8754dfda 100644 --- a/cluster/gce/gci/configure-helper.sh +++ b/cluster/gce/gci/configure-helper.sh @@ -272,8 +272,8 @@ function get-or-generate-uuid(){ function safe-format-and-mount() { local device local mountpoint - device=$1 - mountpoint=$2 + device="$1" + mountpoint="$2" # Format only if the disk is not already formatted. if ! tune2fs -l "${device}" ; then @@ -292,8 +292,8 @@ function safe-format-and-mount() { function unique-uuid-bind-mount(){ local mountpoint local actual_device - mountpoint=$1 - actual_device=$2 + mountpoint="$1" + actual_device="$2" # Trigger udev refresh so that newly formatted devices are propagated in by-uuid udevadm control --reload-rules