Skip to content

Commit 9b50e5a

Browse files
committed
Fix dynamoid:ping rake task
1 parent f135620 commit 9b50e5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/dynamoid/tasks/database.rake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ namespace :dynamoid do
3030
end
3131

3232
msg = "Connection to DynamoDB #{success ? 'OK' : 'FAILED'}"
33-
msg << if Dynamoid.config.endpoint
33+
msg += if Dynamoid.config.endpoint
3434
" at local endpoint '#{Dynamoid.config.endpoint}'"
3535
else
3636
' at remote AWS endpoint'
3737
end
38-
msg << ", reason being '#{failure_reason}'" unless success
38+
msg += ", reason being '#{failure_reason}'" unless success
3939
puts msg
4040
end
4141
end

0 commit comments

Comments
 (0)