chore: run shfmt

This commit is contained in:
Jose Diaz-Gonzalez
2022-12-26 16:41:45 -05:00
parent 852dfc6287
commit 28027b9a78
3 changed files with 6 additions and 9 deletions

View File

@@ -13,9 +13,9 @@ trigger-storage-storage-list() {
get_bind_mounts "$(fn-get-phase-file-path "$APP" "$PHASE")"
else
while read -r line; do
local host_path="$(awk -F: '{print $1}' <<< "$line")"
local container_path="$(awk -F: '{print $2}' <<< "$line")"
local volume_options="$(awk -F: '{print $3}' <<< "$line")"
local host_path="$(awk -F: '{print $1}' <<<"$line")"
local container_path="$(awk -F: '{print $2}' <<<"$line")"
local volume_options="$(awk -F: '{print $3}' <<<"$line")"
jq -n --arg host_path "$host_path" --arg container_path "$container_path" --arg volume_options "$volume_options" '{host_path: $host_path, container_path: $container_path, volume_options: $volume_options}'
done < <(get_bind_mounts "$(fn-get-phase-file-path "$APP" "$PHASE")") | jq -M -n '[inputs]'
fi