I did not see *any* promise to go to war with Syria mentioned in the article.
Guess you skipped over the first sentence of the article
Trump promised, and retaliated, and did not go to war.
Obama promised, did not retaliate, and had troops there as much as Trump.
The first sentence does not show President Obama promising to go to war with Syria.