Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
33b8cbbb
Commit
33b8cbbb
authored
May 24, 2016
by
chrislovecnm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
catching all Exceptions which allows for running outside of k8s easier
parent
3b51d113
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
kubernetes-cassandra.jar
examples/cassandra/image/kubernetes-cassandra.jar
+0
-0
KubernetesSeedProvider.java
...rc/main/java/io/k8s/cassandra/KubernetesSeedProvider.java
+1
-1
No files found.
examples/cassandra/image/kubernetes-cassandra.jar
View file @
33b8cbbb
No preview for this file type
examples/cassandra/java/src/main/java/io/k8s/cassandra/KubernetesSeedProvider.java
View file @
33b8cbbb
...
@@ -152,7 +152,7 @@ public class KubernetesSeedProvider implements SeedProvider {
...
@@ -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
|
KeyManagement
Exception
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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment