← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~ilasc/turnip:shorten-line-charm-turnip-base into turnip:master

 

Ioana Lasc has proposed merging ~ilasc/turnip:shorten-line-charm-turnip-base into turnip:master.

Commit message:
Shorten line in 320 charm-turnip-base

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~ilasc/turnip/+git/turnip/+merge/399504

Shortening line 320 :

"description='Git E2E {} (hint: check nfs-ganesha status)'.format(url),

to get it to pass make lint.

-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~ilasc/turnip:shorten-line-charm-turnip-base into turnip:master.
diff --git a/charm/layer/turnip-base/lib/charms/turnip/base.py b/charm/layer/turnip-base/lib/charms/turnip/base.py
index 19184f0..4cd1f55 100644
--- a/charm/layer/turnip-base/lib/charms/turnip/base.py
+++ b/charm/layer/turnip-base/lib/charms/turnip/base.py
@@ -320,7 +320,8 @@ def add_nagios_e2e_checks(nagios):
         nagios.add_check(
             [os.path.join(nrpe_dir(), 'check_git_refs'), url],
             name='check_turnip_git_refs_{}'.format(i),
-            description='Git E2E {} (hint: check nfs-ganesha status)'.format(url),
+            description='Git E2E {} (hint: check nfs-ganesha status)'.format(
+                url),
             context=config['nagios_context'])