)]}'
{"monasca_setup/detection/plugins/mon.py":[{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"84b0cc244206c8551db399e15e545c7aa941d570","unresolved":false,"context_lines":[{"line_number":30,"context_line":"                api_port \u003d self.api_config[\u0027server\u0027][\u0027applicationConnectors\u0027][0][\u0027port\u0027]"},{"line_number":31,"context_line":"            except Exception:"},{"line_number":32,"context_line":"                log.warn(\u0027Failed parsing /etc/monasca/api-config.yml, defaulting api port to 8070\u0027)"},{"line_number":33,"context_line":"                api_port \u003d 8070"},{"line_number":34,"context_line":"            for conn in monasca_api.connections(\u0027inet\u0027):"},{"line_number":35,"context_line":"                if conn.laddr[1] \u003d\u003d api_port:"},{"line_number":36,"context_line":"                    self.available \u003d True"}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_31edfb25","line":33,"updated":"2015-09-01 17:32:56.000000000","message":"I would prefer that you put this above the log.warn() and then use api_port in the log message so that it would be easy to change the default","commit_id":"da0a723f0e51ba40a4a1095758f0fdcfce1f03f8"}]}
