Skip to content

Commit

Permalink
Merge pull request #350 from alexbrett/slack_username
Browse files Browse the repository at this point in the history
Fix webhook slack_username parameter handling
  • Loading branch information
rnelson0 authored Mar 14, 2017
2 parents 11f01d6 + 8dcea16 commit 836f50e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/webhook.bin.erb
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ end
slack_channel = '#default'
end

if $config['slack_user']
slack_user = $config['slack_user']
if $config['slack_username']
slack_user = $config['slack_username']
else
slack_user = 'r10k'
end
Expand Down

0 comments on commit 836f50e

Please sign in to comment.