Changeset 185

Show
Ignore:
Timestamp:
02/16/07 18:36:06 (2 years ago)
Author:
kindlund
Message:

Initial fix for ticket #51. Multiple calls to isRegisteredVM() were not getting properly sanity checked, before printing the SOAP message results.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/branches/bug/51/lib/HoneyClient/Manager.pm

    r130 r185  
    476476        print "Calling isRegisteredVM()...\n"; 
    477477        $som = $stubVM->isRegisteredVM(config => $vmCloneConfig); 
    478         print "Result: " . $som->result() . "\n"; 
    479478        $ret = $som->result(); 
     479        if (defined($ret)) { 
     480            print "Result: " . $ret . "\n"; 
     481        } 
    480482    } 
    481483