Skip to content

Commit

Permalink
Merge pull request openshift#3120 from ewolinetz/logging_role_fixes
Browse files Browse the repository at this point in the history
Addressing found issues with logging role
  • Loading branch information
detiber authored Jan 19, 2017
2 parents 5a554ef + e71c296 commit 8db537b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions roles/openshift_logging/library/openshift_logging_facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ def default_keys_for(self, kind):

def add_facts_for(self, comp, kind, name=None, facts=None):
''' Add facts for the provided kind '''
if comp in self.facts is False:
if comp not in self.facts:
self.facts[comp] = dict()
if kind in self.facts[comp] is False:
if kind not in self.facts[comp]:
self.facts[comp][kind] = dict()
if name:
self.facts[comp][kind][name] = facts
Expand Down
2 changes: 1 addition & 1 deletion roles/openshift_logging/tasks/generate_configmaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
- copy:
content: "{{curator_config_contents}}"
dest: "{{mktemp.stdout}}/curator.yml"
when: curator_config_contenets is defined
when: curator_config_contents is defined
changed_when: no

- command: >
Expand Down

0 comments on commit 8db537b

Please sign in to comment.