Revision 6130effc api/handlers.py

b/api/handlers.py
337 337
            shutdown_request = requested_action.get('shutdown', None)
338 338
            start_request = requested_action.get('start', None)
339 339
            #action not implemented
340
            action = reboot_request and 'REBOOT' or shutdown_request and 'SUSPEND' or start_request and 'START'
340
            action = reboot_request and 'REBOOT' or shutdown_request and 'STOP' or start_request and 'START'
341 341

  
342 342
            if not action:
343 343
                raise fault.notImplemented 

Also available in: Unified diff