Skip to content

Commit

Permalink
fix filter by whitelist doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
mtbentley committed Sep 12, 2017
1 parent 7e2b29d commit 5ab7a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paasta_tools/mesos_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ def slave_passes_blacklist(slave, blacklist: DeployBlacklist) -> bool:
def slave_passes_whitelist(slave, whitelist: DeployWhitelist) -> bool:
"""
:param slave: A single mesos slave with attributes.
:param whitelist: A list of lists like ["location_type", ["location1", 'location2']]
:param whitelist: A 2 item list like ["location_type", ["location1", 'location2']]
:returns: boolean, True if the slave gets past the whitelist
"""
# No whitelist, so disable whitelisting behaviour.
Expand Down

0 comments on commit 5ab7a0b

Please sign in to comment.