Skip to content

Commit

Permalink
Reset marathon group json together with marathon app one (#700)
Browse files Browse the repository at this point in the history
* Reset marathon group json together with marathon app one

* Remove spurious app_it declaration
  • Loading branch information
luca3m authored Dec 20, 2016
1 parent b0df54f commit e8b78ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/libsinsp/mesos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ bool mesos::collect_data()
{
g_logger.log("Detected null Marathon app (" + app_it->first + "), resetting current state.", sinsp_logger::SEV_WARNING);
m_mesos_state_json.reset();
json_map_type_t::iterator app_it = m_marathon_apps_json.find(group.first);
group.second.reset();
app_it->second.reset();
m_json_error = false;
}
Expand Down

0 comments on commit e8b78ab

Please sign in to comment.