prosodyctl: check: include TURN checks by default
authorMatthew Wild <mwild1@gmail.com>
Sat, 05 Mar 2022 11:53:53 +0000
changeset 12381 317132bca8c0
parent 12380 10353ad0ca7a
child 12382 61d221efe186
prosodyctl: check: include TURN checks by default
util/prosodyctl/check.lua
--- a/util/prosodyctl/check.lua	Sat Mar 05 11:36:38 2022 +0000
+++ b/util/prosodyctl/check.lua	Sat Mar 05 11:53:53 2022 +0000
@@ -1204,7 +1204,7 @@
 		print("Note: It does not ensure that the check actually reaches this specific prosody instance.")
 	end
 
-	if what == "turn" then
+	if not what or what == "turn" then
 		local turn_enabled_hosts = {};
 		local turn_services = {};
 
@@ -1246,7 +1246,7 @@
 		end
 
 		for turn_id, turn_service in pairs(turn_services) do
-			print("Testing "..turn_id.."...");
+			print("Testing TURN service "..turn_id.."...");
 
 			local result = check_turn_service(turn_service, opts.ping);
 			if #result.warnings > 0 then