catching all Exceptions which allows for running outside of k8s easier
This commit is contained in:
parent
f075c5fd6e
commit
33dcbccba1
Binary file not shown.
|
@ -152,7 +152,7 @@ public class KubernetesSeedProvider implements SeedProvider {
|
||||||
logger.warn("Endpoints are not available using default seeds in cassandra.yaml");
|
logger.warn("Endpoints are not available using default seeds in cassandra.yaml");
|
||||||
return Collections.unmodifiableList(defaultSeeds);
|
return Collections.unmodifiableList(defaultSeeds);
|
||||||
}
|
}
|
||||||
} catch (IOException | NoSuchAlgorithmException | KeyManagementException ex) {
|
} catch (Exception ex) {
|
||||||
logger.warn("Request to kubernetes apiserver failed, using default seeds in cassandra.yaml", ex);
|
logger.warn("Request to kubernetes apiserver failed, using default seeds in cassandra.yaml", ex);
|
||||||
return Collections.unmodifiableList(defaultSeeds);
|
return Collections.unmodifiableList(defaultSeeds);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue