Skip to content

Commit

Permalink
Remove get_ecan obj function
Browse files Browse the repository at this point in the history
  • Loading branch information
Tokunbo committed Feb 11, 2015
1 parent 26e2316 commit cb2f928
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 119 deletions.
3 changes: 2 additions & 1 deletion mimic/rest/maas_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,8 @@ def service_json_home(self, request, tenant_id):
@app.route('/v1.0/<string:tenant_id>/views/agent_host_info', methods=['GET'])
def view_agent_host_info(self, request, tenant_id):
"""
No agent monitoring. For now, always return 400.
Return 400 until the fifth attempt, then start to return data as if the
Agent is truly installed and working.
"""
entity_id = request.args['entityId'][0].strip()
for e in self._entity_cache_for_tenant(tenant_id).entities_list:
Expand Down
Loading

0 comments on commit cb2f928

Please sign in to comment.