File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
share/github-backup-utils Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ ghe_remote_logger () {
271271# Returns the online nodes with a certain role in cluster
272272ghe_cluster_online_nodes () {
273273 role=$1
274- echo " ghe-config --get-regexp cluster.*.$role | egrep 'true$' | awk '{ print \$ 1; }' | awk 'BEGIN { FS=\" .\" }; { print \$ 2 };' | xargs -I{} -n1 bash -c 'if [ \"\$ (ghe-config cluster.\$ hostname .offline)\" != true ]; then ghe-config cluster.{}.hostname; fi'" | ghe-ssh " $GHE_HOSTNAME " /bin/bash
274+ echo " ghe-config --get-regexp cluster.*.$role | egrep 'true$' | awk '{ print \$ 1; }' | awk 'BEGIN { FS=\" .\" }; { print \$ 2 };' | xargs -I{} -n1 bash -c 'if [ \"\$ (ghe-config cluster.{} .offline)\" != true ]; then ghe-config cluster.{}.hostname; fi'" | ghe-ssh " $GHE_HOSTNAME " /bin/bash
275275}
276276
277277# Usage: ghe_verbose <message>
You can’t perform that action at this time.
0 commit comments