« Previous | Next » 

Revision 0e137c28

ID0e137c28bdb3e835ec2b0f299e97e3f88d48b240
Parent 6a4aa7c1
Child 216fe2f3

Added by Iustin Pop over 16 years ago

Some small improvements to the hooks environment

For the configuration update hook, it's useful to have a consistent name
for the target of the operation. As such, the LU code is modified to
include an GANETI_OP_TARGET that points either to the cluster (name),
node name or instance name depending on the opcode.

Also, the NoHooksLU is modified such that its build env method returns
an empty (but conformant) result. This should improve things in case by
mistake this class' BuildHooksEnv is called.

Reviewed-by: imsnah

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences