saltstack-formulas / docker-formula

Install and set up Docker
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
136 stars 330 forks source link

fix(clean): fix syntax error in networks.clean #291

Closed danny-smit closed 3 years ago

danny-smit commented 3 years ago

PR progress checklist (to be filled in by reviewers)


What type of PR is this?

Primary type

Secondary type

Does this PR introduce a BREAKING CHANGE?

No.

Related issues and/or pull requests

Describe the changes you're proposing

Fix a small syntax error in the networks.clean state.

Executing the state resulted in the following error:

Rendering SLS 'base:docker.networks.clean' failed: Jinja variable 'docker' is undefined

Pillar / config required to test the proposed changes

It fails even without the pillar data, but the following is the more useful configuration:

docker:
  networks:
    - nginxnet

Debug log showing how the proposed changes work

Documentation checklist

Testing checklist

Additional context

myii commented 3 years ago

Merged, thanks @danny-smit.

saltstack-formulas-travis commented 3 years ago

:tada: This PR is included in version 2.0.7 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: