Commit 958b0e14 authored by Christos Stavrakakis's avatar Christos Stavrakakis

Remove dummy function

parent 55f1abb9
......@@ -221,7 +221,7 @@ def process_network_status(back_network, etime, jobid, opcode, status, logmsg):
back_network.operstate = state_for_success
if status in ('canceled', 'error') and opcode == 'OP_NETWORK_ADD':
utils.update_state(back_network, 'ERROR')
back_network.operstate = 'ERROR'
back_network.backendtime = etime
if opcode == 'OP_NETWORK_REMOVE':
......
......@@ -106,12 +106,6 @@ def get_rsapi_state(vm):
return r
def update_state(vm, new_operstate):
"""Wrapper around updates of the VirtualMachine.operstate field"""
vm.operstate = new_operstate
def hide_pass(kw):
if 'osparams' in kw and 'img_passwd' in kw['osparams']:
kw1 = deepcopy(kw)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment