diff options
author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2019-02-19 14:19:04 +0100 |
---|---|---|
committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2019-02-19 14:19:04 +0100 |
commit | 3b2c700d8010ec5aa560649d35bd31cd831ecebc (patch) | |
tree | b7aaf5dc7dbf247c63677488edd4809ae3c3b4ca /units | |
parent | 65ee4ab6eeab656041c8274b7cf120b2d13d10ff (diff) |
units:oob: Fix comments syntax
When using a snapped validation tool, the simple '# comment' was producing the following error: error: [...] field 'requires', expression did not reference any resources
Diffstat (limited to 'units')
-rw-r--r-- | units/oob-management/jobs.pxu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/units/oob-management/jobs.pxu b/units/oob-management/jobs.pxu index 5615a65..cf3ebd1 100644 --- a/units/oob-management/jobs.pxu +++ b/units/oob-management/jobs.pxu @@ -113,14 +113,14 @@ plugin: shell template-engine: jinja2 requires: {%- if __on_ubuntucore__ %} - # TODO: name is a guess until snap provided + {# TODO: name is a guess until snap provided #} snap.name == 'lms' {%- else %} package.name == 'lms' {% endif -%} command: {%- if __on_ubuntucore__ %} - # TODO: name is a guess until snap provided + {# TODO: name is a guess until snap provided #} SERVICE_NAME="snap.lms.lms.service" {%- else %} SERVICE_NAME="lms.service" |