Experiments.

This commit is contained in:
Timur Nurlygayanov 2013-04-01 15:07:11 +04:00
parent f6f0c146e1
commit 3c3a6c0ff8
1 changed files with 6 additions and 3 deletions

View File

@ -135,12 +135,15 @@ class UpdateServiceRow(tables.Row):
link = request.__dict__['META']['HTTP_REFERER']
datacenter_id = re.search('windc/(\S+)', link).group(0)[6:-1]
LOG.critical("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&")
LOG.critical(datacenter_id)
LOG.critical(service_id)
LOG.critical("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&")
service = api.services_get(request, datacenter_id, service_id)
if service:
service['operation'] = api. \
get_status_message_for_service(request, service_id)
#if service:
# service['operation'] = api. \
# get_status_message_for_service(request, service_id)
LOG.critical(service)