1 changed file
check_jenkins_job_color.py | ||
Add comment 93 for datanode in live_node_data:
Add comment 94 used_space = live_node_data[datanode]['usedSpace']
Add comment 95 if not isInt(used_space):
Add comment 96 Minus raise UnknownError('usedSpace is not an integer! {0}'.format(support_msg_api()))
Add comment 96 Plus raise UnknownError('usedSpace {} is not an integer! {}'.format(used_space, support_msg_api()))
Add comment 97 used_space = int(used_space)
Add comment 98 log.info("datanode '%s' used space = %s", datanode, used_space)
Add comment 99 if min_space is None or used_space < min_space: