removing - symbol before processing name resolving
This commit is contained in:
@@ -33,7 +33,7 @@ name_resolver() {
|
||||
|
||||
for D in $(echo $DNS);
|
||||
do
|
||||
|
||||
D=$(echo $D | cut -d "-" -f1)
|
||||
UP=$(docker ps --format '{{.Names}}\t{{.Status}}' | grep Up | awk '{print $1}' | grep $D"-") ;
|
||||
# filtering for ROLES variables if exists.
|
||||
if [[ "$ROLES" != "null" && ! -z "$ROLES" ]]; then
|
||||
|
Reference in New Issue
Block a user