update examples/cassandra to v1

This commit is contained in:
Chao Xu
2015-06-09 11:05:54 -07:00
parent dafe79e5de
commit d3241f463b
5 changed files with 6 additions and 7 deletions

View File

@@ -102,7 +102,7 @@ public class KubernetesSeedProvider implements SeedProvider {
List<InetAddress> list = new ArrayList<InetAddress>();
String host = "https://kubernetes.default.cluster.local";
String serviceName = getEnvOrDefault("CASSANDRA_SERVICE", "cassandra");
String path = "/api/v1beta3/namespaces/default/endpoints/";
String path = "/api/v1/namespaces/default/endpoints/";
try {
String token = getServiceAccountToken();