Skip to content
Snippets Groups Projects
  1. Dec 03, 2012
  2. Nov 30, 2012
  3. Nov 29, 2012
    • Michael Hanselmann's avatar
      Fix type descriptions in RAPI documentation · 16091a6e
      Michael Hanselmann authored
      
      This patch adds descriptors to the “_CheckCIDR*” functions in opcodes
      and improves the descriptions generated by “ht.TInstanceOf”, thereby
      indirectly fixing bad type descriptions in the RAPI documentation.
      
      Before this patch:
      - (String and (<function _CheckCIDRAddrNotation at 0x2f…>))
      - (Instance of (<class 'ganeti.opcodes.OpInstanceCreate'>))
      
      After this patch:
      - (String and (IPv4 address))
      - (Instance of (ganeti.opcodes.OpInstanceCreate))
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
      16091a6e
Loading