← Back to team overview

livepatch-charmers team mailing list archive

[Merge] ~barryprice/canonical-livepatch-charm/+git/canonical-livepatch-charm:master into canonical-livepatch-charm:master

 

Barry Price has proposed merging ~barryprice/canonical-livepatch-charm/+git/canonical-livepatch-charm:master into canonical-livepatch-charm:master.

Commit message:
Output change from state to patchState/checkState, amend Nagios check to match

Requested reviews:
  Livepatch charm developers (livepatch-charmers)

For more details, see:
https://code.launchpad.net/~barryprice/canonical-livepatch-charm/+git/canonical-livepatch-charm/+merge/342275
-- 
Your team Livepatch charm developers is requested to review the proposed merge of ~barryprice/canonical-livepatch-charm/+git/canonical-livepatch-charm:master into canonical-livepatch-charm:master.
diff --git a/files/check_canonical-livepatch.py b/files/check_canonical-livepatch.py
index aabe681..4e6d54d 100755
--- a/files/check_canonical-livepatch.py
+++ b/files/check_canonical-livepatch.py
@@ -53,7 +53,7 @@ def check_status():
     with open(livepatch_output_path, 'r') as canonical_livepatch_log:
         for line in canonical_livepatch_log:
             line = line.strip()
-            if 'state:' in line:
+            if 'State:' in line:
                 if 'apply-failed' in line:
                     err_lines.append('Patch failed')
                 elif 'check-failed' in line:

References