Explorar el Código

Consider ZEROTIER_JOIN_NETWORKS in healthcheck (#1978)

Stavros Kois hace 2 años
padre
commit
33b2e6a856
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      entrypoint.sh.release

+ 1 - 1
entrypoint.sh.release

@@ -107,7 +107,7 @@ log_params "Writing healthcheck for networks:" $@
 
 cat >/healthcheck.sh <<EOF
 #!/bin/bash
-for i in $@
+for i in $@ $ZEROTIER_JOIN_NETWORKS
 do
   [ "\$(zerotier-cli get \$i status)" = "OK" ] || exit 1
 done