Was that right or wrong?.
Read the first paragraph of this tip aloud. 
One of the most common training errors I see is lack of contrast in verbal commands. When they praise the dog for good work, it's "Oh, you're a good boy." When they correct for poor behavior, it's "Oh, you're a bad boy."
Not only are the two phrases almost identical, but a lot of times they sound as if the handler were reading them from crib notes. How much different did they sound when you read them aloud?"Oh, you're a good boy!!!" is okay for praise provided you get enough enthusiasm into it to let the dog know you are happy with his performance. To show him that you are not overly impressed with his behavior, you should use a short, sharp, command that allows you to raise or lower the level of displeasure to fit the occasion. "No!!!" seems to work well in most cases.
The idea is to get some contrast between the two responses to make it easy for the dog to tell right from wrong. If he can't tell if you are pleased or not with his work, learning becomes much more difficult for him. You don't want to over-do either the praise or the reprimand, just be happy enough, or firm enough, to leave no doubt in his mind how you rate his performance.
Good luck with your training!
Neil