mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
F #5005: Do not load empty history records
This commit is contained in:
1 parent
1c6e9af2ca
commit
e5ee3aae0b
1 file changed
+5
@@ -241,6 +241,11 @@ int History::select(SqlDB * db)
|
||||
|
||||
unset_callback();
|
||||
|
||||
if ( hostname.empty() )
|
||||
{
|
||||
rc = -1;
|
||||
}
|
||||
|
||||
if ( rc == 0 ) // Regenerate non-persistent data
|
||||
{
|
||||
non_persistent_data();
|
||||
|
||||
Reference in new issue
Block a user