Skip to content

Commit

Permalink
#152 fix output message of senza traffic
Browse files Browse the repository at this point in the history
  • Loading branch information
hjacobs committed Nov 24, 2015
1 parent 16d79b2 commit ce9a0dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion senza/traffic.py
Expand Up @@ -107,7 +107,7 @@ def compensate(calculation_error, compensations, identifier, new_record_weights,


def set_new_weights(dns_names: list, identifier, lb_dns_name: str, new_record_weights, percentage):
action('Setting weights for {dns_names}..', **vars())
action('Setting weights for {dns_names}..', dns_names=', '.join(dns_names))
dns_changes = {}
for idx, dns_name in enumerate(dns_names):
domain = dns_name.split('.', 1)[1]
Expand Down
1 change: 1 addition & 0 deletions tests/test_cli.py
Expand Up @@ -1161,6 +1161,7 @@ def change_rr_set(HostedZoneId, ChangeBatch):

def run(opts):
result = runner.invoke(cli, common_opts + opts, catch_exceptions=False)
assert 'Setting weights for myapp.example.org..' in result.output
return result

def weights():
Expand Down

0 comments on commit ce9a0dd

Please sign in to comment.