8000 added sorting for available containers on spawn status command · Sengorius/docker-proxy-stack@3019afe · GitHub
[go: up one dir, main page]

Skip to content

Commit 3019afe

Browse files
author
Sengorius
committed
added sorting for available containers on spawn status command
1 parent 0e16fc8 commit 3019afe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DockerExec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ elif [[ "spawn" == "$ENVIRONMENT" ]]; then
372372
# print spawn details
373373
if [[ "status" == "$ACTION" ]]; then
374374
print_info "Following spawn containers are available:"
375-
find "$SPAWNS_AVAIL_PATH" -maxdepth 1 -type f,l -printf " - %f\n"
375+
find "$SPAWNS_AVAIL_PATH" -maxdepth 1 -type f,l -exec basename {} \; | sort | awk '{print " - "$1}'
376376
echo
377377

378378
print_info "Following spawn containers are enabled in order:"

0 commit comments

Comments
 (0)
0