Skip to content
Snippets Groups Projects
  1. Apr 11, 2013
    • Michele Tartara's avatar
      Compatibility fix for GHC 7 · d860352f
      Michele Tartara authored
      
      Importing an instance, like JSON, automatically allows the names of all
      its functions to be used.
      
      If one of this functions (namely showJSON) is imported separately, GHC 6
      is fine with that, but GHC 7 emits a warning (therefore, the compilation of
      Ganeti fails because it requires no warnings).
      
      This patch fixes the build for GHC 7 and has no impact on GHC 6.
      
      Note that the same does not apply to the import of readJSON, because that
      function is actually used in the same file, so it must be imported separately.
      
      Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
      Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
      d860352f
    • Michele Tartara's avatar
      Properly update iv_name of disks while changing templates · f0583b66
      Michele Tartara authored
      
      Trasforming the disk of an instance from DRBD to plain did not properly
      update the iv_name of disks, leaving it to None.
      
      This commit modifies _ConvertDrbdToPlain to properly set the iv_name
      variables.
      
      An analogous fix is not required in the opposite function,
      _ConvertPlainToDrbd, because it uses _GenerateDiskTemplate, that already
      takes care of doing that.
      
      Fixes Issue 403.
      
      Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      f0583b66
  2. Apr 10, 2013
  3. Apr 09, 2013
  4. Apr 08, 2013
  5. Apr 05, 2013
  6. Apr 03, 2013
  7. Apr 02, 2013
  8. Mar 20, 2013
  9. Mar 12, 2013
  10. Mar 11, 2013
  11. Mar 08, 2013
  12. Mar 06, 2013
Loading