Skip to content

Commit 29aad0e

Browse files
author
Peter Varkoly
committed
Fix ident
1 parent 8aef958 commit 29aad0e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/lib/sap_ha/semantic_checks.rb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -274,16 +274,16 @@ def hana_is_running(system_id, instance_number, nodes)
274274
if @no_test
275275
nodes.each do |node|
276276
log.debug("node #{node} #{my_ips}")
277-
if my_ips.include?(node)
278-
status = exec_status("pidof", procname)
279-
else
280-
status = exec_status("ssh", "-o", "StrictHostKeyChecking=no", node, "pidof", procname)
281-
end
282-
if status != 0
283-
flag = false
284-
message += "<br>No SAP HANA #{system_id} is running on #{node}"
285-
end
286-
end
277+
if my_ips.include?(node)
278+
status = exec_status("pidof", procname)
279+
else
280+
status = exec_status("ssh", "-o", "StrictHostKeyChecking=no", node, "pidof", procname)
281+
end
282+
if status != 0
283+
flag = false
284+
message += "<br>No SAP HANA #{system_id} is running on #{node}"
285+
end
286+
end
287287
end
288288
report_error(flag, message, '', '')
289289
end

0 commit comments

Comments
 (0)