Revision ea1af324 src/dm/DispatchManagerActions.cc
src/dm/DispatchManagerActions.cc | ||
---|---|---|
795 | 795 |
if(host_id != -1) |
796 | 796 |
{ |
797 | 797 |
host = hpool->get(host_id,true); |
798 |
|
|
798 | 799 |
if ( host == 0 ) |
799 | 800 |
{ |
800 | 801 |
oss << "Error getting host " << host_id; |
801 |
NebulaLog::log("DiM",Log::ERROR,oss); |
|
802 |
error_str = oss.str(); |
|
803 |
|
|
802 | 804 |
return -1; |
803 | 805 |
} |
806 |
|
|
804 | 807 |
is_public_host = host->is_public_cloud(); |
808 |
|
|
805 | 809 |
host->unlock(); |
806 | 810 |
} |
807 | 811 |
|
Also available in: Unified diff