dk: augmenter la largeur de la colonne node

This commit is contained in:
Jephté Clain 2020-03-29 21:27:21 +04:00
parent 1c4c1c3faf
commit f7b3f90ba0
1 changed files with 2 additions and 2 deletions

4
dk
View File

@ -1265,11 +1265,11 @@ $serviceName: $serviceUpdateStatus
fi fi
if [ "$num" -eq 0 ]; then if [ "$num" -eq 0 ]; then
# afficher les en-têtes # afficher les en-têtes
__format 3:num 32:taskName 20:node 8:dState 20:cState :error __format 3:num 32:taskName 32:node 8:dState 20:cState :error
fi fi
if [ -z "$fnum" -o "$num" == "$fnum" ]; then if [ -z "$fnum" -o "$num" == "$fnum" ]; then
taskName="$serviceName.$taskSlot" taskName="$serviceName.$taskSlot"
__format 3:"$num" 32:"$taskName.$taskID" 20:"$node" 8:"$desiredState" 20:"$currentState" :"$taskStatus" __format 3:"$num" 32:"$taskName.$taskID" 32:"$node" 8:"$desiredState" 20:"$currentState" :"$taskStatus"
fi fi
if [ "$num" == "$fnum" ]; then if [ "$num" == "$fnum" ]; then
"$DOCKER" service logs -f "$taskID" "$DOCKER" service logs -f "$taskID"