mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
M #-: Remove debug prints (#4313)
This commit is contained in:
parent
377512587f
commit
da148b2396
@ -102,7 +102,5 @@ rescue StandardError => e
|
||||
exit(-1)
|
||||
end
|
||||
|
||||
File.write('/tmp/debug.log', "DEBUG: #{xml_txt}\n", mode: 'a')
|
||||
|
||||
monitor = DSMonitor.new config
|
||||
monitor.dss_metrics
|
||||
|
@ -27,8 +27,6 @@ rescue StandardError => e
|
||||
exit(-1)
|
||||
end
|
||||
|
||||
File.write('/tmp/debug.log', "DEBUG: #{$0}: #{xml_txt}\n", mode: 'a')
|
||||
|
||||
ds_location = config.elements['DATASTORE_LOCATION'].text.to_s
|
||||
ds_location ||= '/var/lib/one/datastores'
|
||||
|
||||
|
@ -20,8 +20,6 @@
|
||||
# This script is used to monitor the free and used space of a datastore
|
||||
###############################################################################
|
||||
|
||||
echo "HERE1 $0 $@" >> /tmp/debug.log
|
||||
|
||||
# -------- Set up the environment to source common tools & conf ------------
|
||||
|
||||
if [ -z "${ONE_LOCATION}" ]; then
|
||||
|
@ -16,8 +16,6 @@
|
||||
# limitations under the License. #
|
||||
#--------------------------------------------------------------------------- #
|
||||
|
||||
echo 'SSH' >> /tmp/debug.log
|
||||
|
||||
dir="$1"
|
||||
|
||||
vms=$(ls "$dir" | grep '^[0-9]\+$')
|
||||
|
Loading…
x
Reference in New Issue
Block a user