Skip to content

Commit

Permalink
rename config variables
Browse files Browse the repository at this point in the history
  • Loading branch information
xvello committed Aug 10, 2017
1 parent 343e8d8 commit e589e5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/service_discovery/abstract_config_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,9 @@ def get_checks_to_refresh(self, identifier, **kwargs):

# then from docker labels
if docker_labels:
kube_config = self._get_docker_config(identifier, docker_labels)
if kube_config is not None:
to_check.update(kube_config[0])
docker_config = self._get_docker_config(identifier, docker_labels)
if docker_config is not None:
to_check.update(docker_config[0])
# lastly, try with legacy name for auto-conf
to_check.update(self.template_cache.get_check_names(self._get_image_ident(identifier)))

Expand Down

0 comments on commit e589e5b

Please sign in to comment.