Skip to content

Commit

Permalink
Convert all indents to spaces in node bootstrap script
Browse files Browse the repository at this point in the history
  • Loading branch information
hakman committed May 27, 2021
1 parent adbbc68 commit 714c2a6
Show file tree
Hide file tree
Showing 114 changed files with 12,200 additions and 4,300 deletions.
10 changes: 5 additions & 5 deletions pkg/model/resources/nodeup.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ download-or-bust() {
local -r urls=( $(split-commas "$3") )
if [[ -f "${file}" ]]; then
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
fi
while true; do
Expand Down
10 changes: 5 additions & 5 deletions pkg/model/tests/data/bootstrapscript_0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ download-or-bust() {
local -r urls=( $(split-commas "$3") )

if [[ -f "${file}" ]]; then
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
fi

while true; do
Expand Down
10 changes: 5 additions & 5 deletions pkg/model/tests/data/bootstrapscript_1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ download-or-bust() {
local -r urls=( $(split-commas "$3") )

if [[ -f "${file}" ]]; then
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
fi

while true; do
Expand Down
10 changes: 5 additions & 5 deletions pkg/model/tests/data/bootstrapscript_2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ download-or-bust() {
local -r urls=( $(split-commas "$3") )

if [[ -f "${file}" ]]; then
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
fi

while true; do
Expand Down
10 changes: 5 additions & 5 deletions pkg/model/tests/data/bootstrapscript_3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ download-or-bust() {
local -r urls=( $(split-commas "$3") )

if [[ -f "${file}" ]]; then
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
fi

while true; do
Expand Down
10 changes: 5 additions & 5 deletions pkg/model/tests/data/bootstrapscript_4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ download-or-bust() {
local -r urls=( $(split-commas "$3") )

if [[ -f "${file}" ]]; then
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
fi

while true; do
Expand Down
10 changes: 5 additions & 5 deletions pkg/model/tests/data/bootstrapscript_5.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ download-or-bust() {
local -r urls=( $(split-commas "$3") )

if [[ -f "${file}" ]]; then
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
fi

while true; do
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ download-or-bust() {
local -r urls=( $(split-commas "$3") )

if [[ -f "${file}" ]]; then
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
fi

while true; do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ download-or-bust() {
local -r urls=( $(split-commas "$3") )

if [[ -f "${file}" ]]; then
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
fi

while true; do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ download-or-bust() {
local -r urls=( $(split-commas "$3") )

if [[ -f "${file}" ]]; then
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
fi

while true; do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ download-or-bust() {
local -r urls=( $(split-commas "$3") )

if [[ -f "${file}" ]]; then
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
fi

while true; do
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ download-or-bust() {
local -r urls=( $(split-commas "$3") )

if [[ -f "${file}" ]]; then
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
fi

while true; do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ download-or-bust() {
local -r urls=( $(split-commas "$3") )

if [[ -f "${file}" ]]; then
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
fi

while true; do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ download-or-bust() {
local -r urls=( $(split-commas "$3") )

if [[ -f "${file}" ]]; then
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
fi

while true; do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ download-or-bust() {
local -r urls=( $(split-commas "$3") )

if [[ -f "${file}" ]]; then
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
if ! validate-hash "${file}" "${hash}"; then
rm -f "${file}"
else
return
fi
fi

while true; do
Expand Down
Loading

0 comments on commit 714c2a6

Please sign in to comment.