[Type]
[Module]
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]
Change-Id: I6549e875e1491554aeae875f775cdf8cf7205dfc
@@log.output( "=== server ID list ===", Log::LV_USER)
s.each do |id|
- if File.basename(id).include?(".log") then next end
-
- server_list.push id
- @@log.output( id, Log::LV_USER)
+ if File.directory?("#{SERVER_ROOT}/#{id}") then
+ server_list.push id
+ @@log.output( id, Log::LV_USER)
+ end
end
@@log.close
FileUtils.rm_rf("#{SERVER_ROOT}/.log")