New York Mets pitcher David Peterson replaced fellow left-hander Robbie Ray of the San Francisco Giants on the National League roster on Thursday for next Tuesday’s All-Star Game in Atlanta.Ray, 33, is scheduled to pitch on Sunday against the visiting Los Angeles Dodgers. He is 9-3 this season with a 2.63 ERA, one complete game, 42 walks and 122 strikeouts in 113 innings over 19 starts.Peterson is a first-time All-Star and will join Mets shortstop Francisco Lindor (starter), first baseman Pete Alonso and closer Edwin Diaz on the NL squad.The 29-year-old Peterson also pitched on Thursday, but it was not all good news as the Mets fell to the host Baltimore Orioles 3-1 in the first game of a doubleheader. He started and went seven-plus innings, allowing one run (in the eighth) on five hits with no walks and six strikeouts but did not figure in the decision.Peterson is 6-4 with a 3.06 ERA with one complete-game shutout, 37 walks and 93 strikeouts in 108 innings over 18 starts.