minor fixes to Endpoint

Change-Id: Ia189d96919adb581a1a345b6f74b027ccf01ad79
1 file changed