Closed paulomach closed 1 year ago
Merging #294 (1d4ada3) into main (e7c0e1f) will increase coverage by
0.05%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## main #294 +/- ##
==========================================
+ Coverage 62.36% 62.41% +0.05%
==========================================
Files 14 14
Lines 2686 2690 +4
Branches 344 345 +1
==========================================
+ Hits 1675 1679 +4
Misses 903 903
Partials 108 108
Files Changed | Coverage Δ | |
---|---|---|
lib/charms/mysql/v0/mysql.py | 70.17% <100.00%> (+0.14%) |
:arrow_up: |
Issue
When reconnecting,
util.check_for_server_upgrade
outputs an info line before the json payload like:which breaks
json.loads
call.Solution
Strip info line when present (i.e. first line not starting with
{
)