Skip to content

Commit

Permalink
tera_cookie formate not compatible: old sdk does not has cluster_id
Browse files Browse the repository at this point in the history
  • Loading branch information
caijieming committed May 16, 2017
1 parent 4d315ea commit f15ac00
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/sdk/sdk_zk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ std::string ClusterFinder::ClusterId() {
std::string name = Name();
std::string authority = Authority();
std::string path = Path();
if (name.empty() || authority.empty() || path.empty()) {
LOG(FATAL) << "cluster name/authority/path must be non-empty";
}
std::string cluster_id = name + "://" + authority;
if (path[0] != '/') {
cluster_id += "/";
Expand Down

0 comments on commit f15ac00

Please sign in to comment.