Revision 83c046a2 lib/server/masterd.py

b/lib/server/masterd.py
1 1
#
2 2
#
3 3

  
4
# Copyright (C) 2006, 2007, 2010, 2011 Google Inc.
4
# Copyright (C) 2006, 2007, 2010, 2011, 2012 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
288 288
      logging.info("Received job archive request for %s", job_id)
289 289
      return queue.ArchiveJob(job_id)
290 290

  
291
    elif method == luxi.REQ_AUTOARCHIVE_JOBS:
291
    elif method == luxi.REQ_AUTO_ARCHIVE_JOBS:
292 292
      (age, timeout) = args
293 293
      logging.info("Received job autoarchive request for age %s, timeout %s",
294 294
                   age, timeout)
......
396 396
      op = opcodes.OpTagsGet(kind=kind, name=name, use_locking=False)
397 397
      return self._Query(op)
398 398

  
399
    elif method == luxi.REQ_QUEUE_SET_DRAIN_FLAG:
399
    elif method == luxi.REQ_SET_DRAIN_FLAG:
400 400
      (drain_flag, ) = args
401 401
      logging.info("Received queue drain flag change request to %s",
402 402
                   drain_flag)

Also available in: Unified diff