Revision 6abf7f2c daemons/ganeti-noded

b/daemons/ganeti-noded
803 803
    # TODO: What if a file fails to rename?
804 804
    return [backend.JobQueueRename(old, new) for old, new in params]
805 805

  
806
  @staticmethod
807
  def perspective_jobqueue_set_drain(params):
808
    """Set/unset the queue drain flag.
809

  
810
    """
811
    drain_flag = params[0]
812
    return backend.JobQueueSetDrainFlag(drain_flag)
813

  
814

  
815 806
  # hypervisor ---------------
816 807

  
817 808
  @staticmethod

Also available in: Unified diff