Fix variables in print statement
This commit is contained in:
parent
2b4efc2c61
commit
f5951add54
2
abra
2
abra
@ -1578,7 +1578,7 @@ sub_server_list() {
|
|||||||
|
|
||||||
name="${SERVER##*/}"
|
name="${SERVER##*/}"
|
||||||
host=$(docker context inspect "$name" -f "{{.Endpoints.docker.Host}}" 2>/dev/null)
|
host=$(docker context inspect "$name" -f "{{.Endpoints.docker.Host}}" 2>/dev/null)
|
||||||
printf " %s\t%s\t%s%s\n" "$name" "${host:-UNKNOWN}"
|
printf " %s\t%s\n" "$name" "${host:-UNKNOWN}"
|
||||||
|
|
||||||
idx+=1
|
idx+=1
|
||||||
done | column -s' ' -t
|
done | column -s' ' -t
|
||||||
|
Loading…
Reference in New Issue
Block a user