git ssb

1+

dinoworm 🐛 / butt-as-a-service



Commit 36d95936255ad119fd3357001514085a198dacdd

fix bad port default

error

```
salt.butt.nz:
    Data failed to compile:
    ----------
        Rendering SLS 'base:hub' failed: Jinja variable 'dict object'
        has no attribute 'port'
```

http://www.tmartin.io/articles/2014/salt-improving-jinja-usage/
Michael Williams committed on 12/25/2017, 10:59:34 AM
Parent: 1b0f88ad0dc819e99e066fb621372dabff4ab28f

Files changed

salt/state/hub.slschanged
salt/state/hub.slsView
@@ -19,9 +19,9 @@
1919
2020 {% for pub in pubs %}
2121
2222 {% set name = pub.name %}
23-{% set port = pub.port or 8008 %}
23 +{% set port = pub.get('port', 8008) %}
2424
2525 {% set secret = pub.secret %}
2626 {% set curve = secret.curve %}
2727 {% set public = secret.public %}

Built with git-ssb-web