Fix discovery issue for blue-green