mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 08:17:26 +00:00
catching all Exceptions which allows for running outside of k8s easier
This commit is contained in:
parent
3b51d11329
commit
33b8cbbbeb
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
Block a user