Skip to content

Commit 3b7b025

Browse files
authored
Merge pull request #25 from brendandburns/automagic
Remove some extraneous error lines.
2 parents 07cbcb0 + 997fc04 commit 3b7b025

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

util/src/main/java/io/kubernetes/client/util/KubeConfig.java

-2
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,10 @@ public boolean setContext(String context) {
7373
currentUser = null;
7474
Map<String, Object> ctx = findObject(contexts, context);
7575
if (ctx == null) {
76-
System.err.println("Failed to find context: " + context + " in " + contexts);
7776
return false;
7877
}
7978
currentContext = (Map<String, Object>) ctx.get("context");
8079
if (currentContext == null) {
81-
System.err.println("Failed to find 'context' in " + ctx);
8280
return false;
8381
}
8482
String cluster = (String) currentContext.get("cluster");

0 commit comments

Comments
 (0)