Merge "[compass] change the cmd of getting endpoint because of ugly warnings"