A note on K-theory and triangulated categories